Question: NAME: LAB SECTION HWSP1 (15 points) A list of final scores (S) of EAS230 for the Fall 2018 (in percent out of 100%) is given




NAME: LAB SECTION HWSP1 (15 points) A list of final scores (S) of EAS230 for the Fall 2018 (in percent out of 100%) is given in the file EAS230_F18_Scores.txt. The first column is a student virtual person number and the 2nd column is the score Write a computer program in a script file HW5P1 that must: 1. (2 pts) Load the data in EAS230_F18 Scores.txt and assign every column to a separate variable. For example, PN for the person number and S for the scores. 2. (2 pts) Calculate the average (Avg) and standard deviation (SD) of the scores, which are rounded to the nearest integer. You can use the MATLAB built-in functions mean0 and std0 after reading their help (2 pts) Display the values of Avg and SD using the disp0 function as, Average Score 3. and the Standard Deviation = XX% Blank line" 4. (8 pts) The letter grade corresponding to each score is determined according to the following table. Determine how many A(s), B(s), C(s), D(s), and F(s) in the class. This can be done by using the MATLAB sum () function on the output of every logical expression in the table Score, S % S2 Avg +1.3 SD Avg 0.5 SD SSHW5P3 3D Shape List: 1.Cuboid 2.Cylinder 3.Sphere Please choose a number from the list above: 2 Please enter the radius of the cylinder in inches: 4 Please enter the height of the cylinder in inches: 6 For a Cylinder of 4.00 in radius and 6.00 in height, hh1.59 in3 the surface area 251.33 in^2 and the volume 301.59 in^3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
