Using Arduino program coding
a. Name your program file 1ab6p3. b. Ask the user for the number N (a positive integer) of real numbers in a set. Then ask for each number, one at a time. Below is a sample run STATISTICS CALCULATOR Input N 1): -1 Input N 1): 5 Input num: 71.70 Input num: 78.50 Input num: 80.90 Input num: 81.30 Input num: 77.40 Sum Average xxx.xx StdDev yy.yyy Range Zzz.zz Complete the example above by hand. Compute the sum and "sum of squares." Apply the formula in the book on the "sum of squares" to get standard deviation. c. Sum of Squares Sum Average Range ( Maximum-Minimum) Standard Deviation Write a program that will find the smallest, largest, and average values in a collection of N numbers. Get the value of N before scanning each value in the collection of N numbers. 4. a. b. Modify your program to compute and display both the range of values in the data collection and the standard deviation of the data collection. To compute the standard deviation, accumulate the sum of the squares of the data values (sum squares) in the main loop. After loop exit, use the formula a. Name your program file 1ab6p3. b. Ask the user for the number N (a positive integer) of real numbers in a set. Then ask for each number, one at a time. Below is a sample run STATISTICS CALCULATOR Input N 1): -1 Input N 1): 5 Input num: 71.70 Input num: 78.50 Input num: 80.90 Input num: 81.30 Input num: 77.40 Sum Average xxx.xx StdDev yy.yyy Range Zzz.zz Complete the example above by hand. Compute the sum and "sum of squares." Apply the formula in the book on the "sum of squares" to get standard deviation. c. Sum of Squares Sum Average Range ( Maximum-Minimum) Standard Deviation Write a program that will find the smallest, largest, and average values in a collection of N numbers. Get the value of N before scanning each value in the collection of N numbers. 4. a. b. Modify your program to compute and display both the range of values in the data collection and the standard deviation of the data collection. To compute the standard deviation, accumulate the sum of the squares of the data values (sum squares) in the main loop. After loop exit, use the formula