By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,852 Members | 2,123 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,852 IT Pros & Developers. It's quick & easy.

pliz help me

P: 3
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
Share this Question
Share on Google+
1 Reply


Meetee
Expert Mod 100+
P: 931
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

Post your reply

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