Question: In business applications, you are often asked to compute the mean and standard deviation of data. The mean is simply the average of the numbers.

In business applications, you are often asked to compute the mean and standard deviation of data. The mean is simply the average of the numbers. The standard deviation is a statistic that tells you how tightly all the various data are clustered around the mean in a set of data.For example, what is the average age of the students in a class? How close are the ages? If all the students are the same age, the deviation is 0. Write a program that prompts the user to enter ten numbers, and displays the mean and standard deviations of these numbers using the following formula:

. i3D1 + Xn X1 + x2 + deviation ... mean ||

Here is a sample run:

Enter ten numbers: 1 2 3 4.5 5.6 6 7 8 9

. i3D1 + Xn X1 + x2 + deviation ... mean || Enter ten numbers: 1 2 3 4.5 5.6 6 7 8 9 10 The mean is 5.61 The standard deviation is 2.99794 JEnter

Step by Step Solution

3.39 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Program plan Create a class called computeMeanDeviation Define main method Declare a double array va... View full answer

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 Java Programming Questions!