subject
Engineering, 23.03.2020 18:54 fheight01

Write a MATLAB program in a script file that calculate the average, standard
deviation, and median of a list of grades as well as the number of grades on
the list. The program asks the user (input command) to enter the grades as
elements of a vector. The program then calculates the required quantities
using MATLAB's built-in functions length, mean, std, and median.
The results are displayed in the Command Window in the following format:
"There are XX grades." where XX is the numerical value.
"The average grade is XX." where XX is the numerical value.
"The standard deviation is XX." where XX is the numerical value.
"The median grade is XX." where XX is the numerical value.
Execute the program and enter the following grades: 92, 74, 53, 61, 100, 42,
80, 66, 71, 78, 91, 85, 79, and 68.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Fluids at rest possess no flow energy. a)- true b)- false
Answers: 3
question
Engineering, 04.07.2019 18:20
Select any two (2) areas of applications of chain-drive. (clo4) a)-permanent lubrication necessary b)-hydraulic forklift truck operation c)-rigging and heavy moving materials d)-relatively high maintenance costs e)-costlier than belt drives
Answers: 2
question
Engineering, 04.07.2019 18:20
Refrigerant-134a enters the compressor of a refrigerator as superheated vapor at 0.14 mpa and -10°c at a rate of 0.05 ka/s and leaves at 0.8 mpa and 50°c. the refrigerant is cooied in the condenser to 0.72 mpa and 26'c. it is then throttled to 0.15 mpa. sketch the t-s diagram for the system and evaluate: 6) the rate of heat removai from the refrigerated space (kw), it) the power input to the compressor (kw), ii) the isentropic efficiency of the compressor (%), and iv) the cop of the refrigerator.
Answers: 2
question
Engineering, 04.07.2019 19:10
10 kg of co2 is initially contained at 400 kpa and 300 k. the gas constant for carbon dioxide is 189 j/lkg k) and has a specific heat ratio, k, of 1.289. isentropic expansion then occurs until the pressure is 200 kpa. a) determine the initial volume of co2 in m. b) determine the final temperature in k. c) determine the work done by the system during the expansion kl.
Answers: 2
You know the right answer?
Write a MATLAB program in a script file that calculate the average, standard
deviation, and m...
Questions
question
Mathematics, 31.10.2020 02:40
question
Mathematics, 31.10.2020 02:40
question
Mathematics, 31.10.2020 02:40
question
Spanish, 31.10.2020 02:40
question
Biology, 31.10.2020 02:40
question
Geography, 31.10.2020 02:40
Questions on the website: 13722361