subject
Engineering, 25.11.2019 22:31 joyelewis58

Write a matlab program that calculates the arithmetic mean, the geometric mean, and the root-mean-square average for a given set of values. your program must use 3 functions to calculate the 3 required means. the output should be formatted as follows:

your name statistical package arithmetic mean = x. geometric mean = x. rms average = x.

test your program on the following values: 1.1, 3.3, 3.00, 2.22, 2.00, 2.72, 4.00, 4.62 and 5.37. your main program calls 3 functions.

the data should be read by the main program from a text file, stored in an array and then passed to the functions.

the results and any other output should be printed by the main program. notice how the output results are aligned. also notice that the results are printed accurate to 5 decimal places.

do not use matlab built-in functions.

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
The filament of an incandescent lamp has a temperature of 2000k. calculate the fraction of radiation emitted in the visible light band if the filament is approximated as blackbody
Answers: 2
question
Engineering, 04.07.2019 18:10
Consider a large isothermal enclosure that is maintained at a uniform temperature of 2000 k. calculate the emissive power of the radiation that emerges from a small aperture on the enclosure surface. what is the wavelength ? , below which 10% of the emission is concentrated? what is the wavelength ? 2 above which 10% of the emission is concentrated? determine the wavelength at which maximum spectral emissive power occurs. what is the irradiation incident on a small object placed inside the enclosure?
Answers: 2
question
Engineering, 04.07.2019 18:10
Which of the following controllers anticipates the future from the slope of errors over time? a)-proportional b)-on/off c)-integral d)-derivative.
Answers: 2
question
Engineering, 04.07.2019 18:20
Steam enters a converging nozzle at 3.0 mpa and 500°c with a at 1.8 mpa. for a nozzle exit area of 32 cm2, determine the exit velocity, mass flow rate, and exit mach number if the nozzle: negligible velocity, and it exits (a) is isentropic (b) has an efficiency of 94 percent
Answers: 2
You know the right answer?
Write a matlab program that calculates the arithmetic mean, the geometric mean, and the root-mean-sq...
Questions
question
History, 19.11.2019 06:31
question
English, 19.11.2019 06:31
question
Mathematics, 19.11.2019 06:31
Questions on the website: 13722363