Question: please answer for task 1, 2, 3 The standard deviation measures the spread of the data about the mean value. It is useful in comparing
please answer for task 1, 2, 3
The standard deviation measures the spread of the data about the mean value. It is useful in comparing sets of data which may have the same meaning but a different range. Consider the following data sets in Table 1. Table 1: Two sets of raw data X] X2 X3 X4 Xs Mean, x Standard deviation, s Data Set 1 16 14 15 16 15 15.2 0.7483 Data Set 2 2 7 14 22 30 15 10.0797 YOUR TASK Your team is required to design and develop a program using C++ language. Your C++ program should capable to perform the following tasks: Task 1: Standard deviation Find the mean and standard deviation of up to 100 numbers. Suppose that the mean of n numbers X, X2, ..., xn is x as shown in eq. (1). Then the standard deviation of these numbers can be computed using eq. (2). Note: User is allowed to enter the number up to 100 numbers. x1 + x2 + ... + x mean, m= n eq.(1) m) i=1 standard deviation, s = e.q.(2) n Task 2: Lowest value Find the lowest value of the number entered by the user in task 1. Also, find the occurrences of the number. Task 3: Upper value Find the largest value of the number entered by the user in task 1. Also, find the occurrences of the number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
