Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 numberStep 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