Question: Write a program that takes, as input, five numbers and outputs the mean (average) and standard deviation of the numbers. If the numbers are x,

Write a program that takes, as input, five numbers and outputs the mean (average) and standard deviation of the numbers. If the numbers are x, x, x, x, and x, then the mean is:

x = (x+ x+ x+ x+x)/5

and the standard deviation is:

s = (((x-x)+(x-x)+(x-x)+(x-x)+(x-x))/5)

Your program must contain at least the following functions: a function that calculates and returns the mean and a function that calculates the standard deviation.

Grading

As you complete the steps above, you can use the Test button to check if the lab tests are passing. Once you are satisfied with the results, use the Grade button to save your score.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!