MAragorn
asked on
Finding the Mean and SD of values to xN
Suppose we have a set of values x1, x2, . . . , xN.
Write an application that calculates the mean and standard deviation of its command line arguments.
For example,
java MyApp 1 9 3 7
should produce output similar to:
For data: 1.0,9.0,3.0,7.0,
mean=5.0
standard deviation=3.16227766016837 95
Write an application that calculates the mean and standard deviation of its command line arguments.
For example,
java MyApp 1 9 3 7
should produce output similar to:
For data: 1.0,9.0,3.0,7.0,
mean=5.0
standard deviation=3.16227766016837
homework is prevented here, we can only provide tips and solve existing code problems
ASKER
sorrry... i'll put in what i've worked out as soon as i write it up
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks for your help... i managed to solve the mean but the SD was well hard
>> i managed to solve the mean but the SD was well hard
Good to hear.
Thanks for accepting
Good to hear.
Thanks for accepting
We're here to help you with *what you already have*