Write a used-defined function that calculates the average


Write a used-defined function that calculates the average and the standard deviation of a list of numbers. Use the function to calculate the average and the standard deviation of the following list of grades:   80 75 91 60 79 89 65 80 95 50 81

       Note: The average x_ave (mean) of a given set of n number x1,x2,... . .,xn is given by: x_ave=(x1+x2+x3+...+xn)/n

      The standard deviation is given by: segma=sqrt((sum(xi-x_ave)^2)/(n-1))

Request for Solution File

Ask an Expert for Answer!!
Civil Engineering: Write a used-defined function that calculates the average
Reference No:- TGS0831589

Expected delivery within 24 Hours