Question: Pb . 2 B ) Write a script file in which you define the 4 grades for a student ( HW , CW , MT

Pb.2
B) Write a script file in which you define the 4 grades for a student (HW, CW, MT, & FT) and utilize my_FG function to get the Final Grade, FG, fo that student then use fprintf to display the given grades and the clculated final grade.
Since the MATLAB grader cannot grade multiple files in the same time, you need to copy the function you created in the previous part to the end of this script. Also, since the input command is not supported in the MATLAB grader, just define the HW', CW, MT, & FT variables at the body of the script without using the input command.
Test your script with the following:
HW: 90
CW: 100
MT: 85
FT: 90
The output of the script should look similar to:
With HW= ##.#, CW= ##.#, MT= ##.# & FT= ##.#, your FG is ##.#.
Make sure that the function and script files contain enough comments and description of the steps.
 Pb.2 B) Write a script file in which you define the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!