Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

**5.45 Statistics: compute mean and standard deviation In business applications, you are often asked to compute the mean and standard deviation of data. The mean

image text in transcribed

image text in transcribed

**5.45 Statistics: compute mean and standard deviation 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 o. 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 = 7t n-1 Here is a sample run of the program: Sample 1: Enter numbers: 1 2 3 4.5 5.6 6 7 8 9 10 The mean is 5.61 The standard deviation is 2.99794 Sample 2: Enter a number 55 Enter a number: 60 Enter a number: 75.66 Enter a number: 81.2 Enter a number: 90.55 Enter a number: 100.1 Enter a number: 66.69 Enter a number: 75.5 Enter a number: 88.88 Enter a number: 99.99 The mean is 79.357 The standard deviation is 15.749124173179341

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning Microsoft SQL Server 2012 Programming

Authors: Paul Atkinson, Robert Vieira

1st Edition

1118102282, 9781118102282

More Books

Students also viewed these Databases questions

Question

How to solve maths problems with examples

Answered: 1 week ago

Question

=+2 Why are international employment standards important to IHRM?

Answered: 1 week ago

Question

=+1 Why are local employment laws important to IHRM?

Answered: 1 week ago

Question

=+ Are some laws more important than others? If so, which ones?

Answered: 1 week ago