Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data And Information Quality Dimensions, Principles And Techniques

Authors: Carlo Batini, Monica Scannapieco

1st Edition

3319241060, 9783319241067

More Books

Students also viewed these Databases questions

Question

1. How do most insects respire ?

Answered: 1 week ago

Question

Who is known as the father of the indian constitution?

Answered: 1 week ago

Question

1.explain evaporation ?

Answered: 1 week ago

Question

Who was the first woman prime minister of india?

Answered: 1 week ago

Question

Explain the concept of going concern value in detail.

Answered: 1 week ago