473,397 Members | 1,985 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

pliz help me

thanks for all you are doing. pliz,i want your help on how to design a program that determines 20 prime numbers and computes their standard deviation. i will be greatful for your help.
Aug 13 '07 #1
1 1352
Meetee
931 Expert Mod 512MB
thanks for all you are doing. pliz,i want your help on how to design a program that determines 20 prime numbers and computes their standard deviation. i will be greatful for your help.
You can find the sum of 20 numbers and then use this formula to find the standard deviation

std_dev = sqrt((( pow(sum,2.0)) -(( 1.0/count) * (pow(sum,2.0)))) / (count - 1.0));

Regards

PS : Read this
Aug 13 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Adolfo | last post by:
Hello everyone, I am a newbie starting Fredrik Lundh .pdf tutorial. Running W2000. I am stuck in page four "Hello Again" program: When I try running it, it shows the root Python window very fast...
5
by: Akaketwa | last post by:
guys help me on this rather nubish question.I have created a new data type in java and i also want to create a new data type object in db2 that will store the money data object. The money...
2
by: Fazana | last post by:
Thanks very much for that code. Now my program is reading all the information from that text file. But still, i have got a small problem with that piece of code. As you can see from the text file...
1
by: simbarashe | last post by:
I am trying to insert an auto_increment value into multiple tables but its seems to lose its value after the the second insert statement and my code is as follows can any1 please help. The...
0
by: shashiprabha | last post by:
Hi, i m very new to db2. we have db2 8.1 running in an AIX machine. the instance is 32 bit. now we need to diploay a 64 bit application. i see no header files in DB2DIR/include64 directory. where...
13
by: joel_maina | last post by:
how do i go about this?pliz help if you can a company keeps a payroll file containing the following details for each of its employees:name,employees number,grade(manual,clerical,supervisor or...
0
by: Paczek | last post by:
Hi, My name is Łukasz I from Poland;] Need Your's help This is code in C# : private void button4_Click(object sender, System.EventArgs e) { string strConn =...
21
by: ritusingh2008 | last post by:
Hello, I have transmitted an APi frame fron one xbee radio to other.I am able to receive it in 2nd xbee radios.I can see it xbee terminal.If i want to find the RSSI value for it how can i calculate...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.