Question #45470

write separate functions arithmetic_mean(), rms_average(), harmonic_mean(),

geometric_mean() which takes the data array as the argument and compute the respective quantities.

Write a script averages which take two values xlow and xhigh and generate 10000 random numbers in

the range [xlow…xhigh], and calls the appropriate functions to compute arithmetic mean (average), rms average, geometric mean and harmonic mean. Flow Chart also.

geometric_mean() which takes the data array as the argument and compute the respective quantities.

Write a script averages which take two values xlow and xhigh and generate 10000 random numbers in

the range [xlow…xhigh], and calls the appropriate functions to compute arithmetic mean (average), rms average, geometric mean and harmonic mean. Flow Chart also.

Expert's answer

Learn more about our help with Assignments: ProgrammingMatlab

## Comments

## Leave a comment