subject
Engineering, 06.11.2019 15:31 kylabreanne120

Write a matlab program to:
prompt the user to enter numeric grades (one at a time) within a while loop. any number of grades can be entered. the user should enter a negative number to indicate that there are no more grades.

determine the number of grades in each grade range using a standard 10 point scale: a(90 or higher), b (80-90), c (70-80), d (60-70), and f (0-60).

determine the maximum, minimum, and average grade.

display the results including the number of grades, maximum grade, minimum grade, and the number of grades in each grade range.

test the program for cases including 4 grades, 10 grades, and 20 grades with the grades reasonably distributed between the grade ranges.

ansver
Answers: 3

Another question on Engineering

question
Engineering, 03.07.2019 14:10
Amass of m 1.5 kg of steam is contained in a closed rigid container. initially the pressure and temperature of the steam are: p 1.5 mpa and t 240°c (superheated state), respectively. then the temperature drops to t2= 100°c as the result of heat transfer to the surroundings. determine: a) quality of the steam at the end of the process, b) heat transfer with the surroundings. for: p1.5 mpa and t 240°c: enthalpy of superheated vapour is 2900 kj/kg, specific volume of superheated vapour is 0. 1483 m/kg, while for t 100°c: enthalpy of saturated liquid water is 419kj/kg, specific volume of saturated liquid water is 0.001043m/kg, enthalpy of saturated vapour is 2676 kj/kg, specific volume of saturated vapour is 1.672 m/kg and pressure is 0.1 mpa.
Answers: 3
question
Engineering, 04.07.2019 18:10
Aflywheel accelerates for 5 seconds at 2 rad/s2 from a speed of 20 rpm. determine the total number of revolutions of the flywheel during the period of its acceleration. a.5.65 b.8.43 c. 723 d.6.86
Answers: 2
question
Engineering, 04.07.2019 18:10
During a steady flow process, the change of energy with respect to time is zero. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 18:10
Afull journal bearing has a journal diameter of 27 mm, with a unilateral tolerance of -0.028 mm. the bushing bore has a diameter of 27.028 mm and a unilateral tolerance of 0.04 mm. the l/d ratio is 0.5. the load is 1.3 kn and the journal runs at 1200 rev/min. if the average viscosity is 50 mpa-s, find the minimum film thickness, the power loss, and the side flow for the minimum clearance assembly.
Answers: 1
You know the right answer?
Write a matlab program to:
prompt the user to enter numeric grades (one at a time) within a...
Questions
question
Mathematics, 02.06.2021 17:50
question
Mathematics, 02.06.2021 17:50
question
Geography, 02.06.2021 17:50
question
English, 02.06.2021 17:50
question
English, 02.06.2021 17:50
question
Mathematics, 02.06.2021 17:50
question
Mathematics, 02.06.2021 17:50