Welcome to Dream.In.Code
Become a C++ Expert!

Join 137,233 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,740 people online right now. Registration is fast and FREE... Join Now!




mean,varianceand stadard deviation for a given set of integers

 
Reply to this topicStart new topic

mean,varianceand stadard deviation for a given set of integers, read set of numbers,count them and calculateand display the mean,varia

anilbadam
20 Mar, 2007 - 01:56 PM
Post #1

New D.I.C Head
*

Joined: 20 Mar, 2007
Posts: 1


My Contributions
Write a program to read a set of numbers count them and calculate and display the mean , variance and standard deviation of the set of numbers the mean and variance of the numbers x1,x2,x3……….xn can be calculated usinf formulas
Mean=1/n* summation xi(from 1 to n)
Variance=1/n*summation xi(from 1 to n)square – 1/n2(summation xi)square
Standard deviation is squareroot of variance



Attached File(s)
Attached File  Program3.doc ( 48.5k ) Number of downloads: 39
User is offlineProfile CardPM
+Quote Post

skyhawk133
RE: Mean,varianceand Stadard Deviation For A Given Set Of Integers
20 Mar, 2007 - 02:07 PM
Post #2

Head DIC Head
Group Icon

Joined: 17 Mar, 2001
Posts: 14,971



Thanked: 48 times
Dream Kudos: 1650
Expert In: Web Development

My Contributions
You're going to have to show us what code you've done so far, we can't do your homework for you. Read the forum rules for more info: http://www.dreamincode.net/forums/showtopic13280.htm
User is online!Profile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/4/08 03:48PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month