Link to home
Start Free TrialLog in
Avatar of MAragorn
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.1622776601683795
Avatar of zzynx
zzynx
Flag of Belgium image

We're not here/allowed to make your assignements.
We're here to help you with *what you already have*
homework is prevented here, we can only provide tips and solve existing code problems
Avatar of MAragorn
MAragorn

ASKER

sorrry... i'll put in what i've worked out as soon as i write it up
ASKER CERTIFIED SOLUTION
Avatar of zzynx
zzynx
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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