Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(Part 1 - 50 points) In business applications, you are often asked to compute the mean and standard deviation of data. The mean is simply
(Part 1 - 50 points) 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: mean = deviation = n* (x2) - (2x) n*(n-1) Ex Add all the values Ex? Square each value first then square the sum n + number of values n Here is a sample run: 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
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started