Question: Question - 1 ( 2 5 points ) Create a function to determine test grades based on the soore and assuming a single input into

Question-1(25 points)
Create a function to determine test grades based on the soore and
assuming a single input into the function. The function must give an
error message to the input when the input is greater than 160 and
smaller than 8. The grades should be based on the following criteria:
Question-2(25 points)
This problem requires you to generate temperature conversion tables. Use the following equations,
which describe the relationships between temperatures in degrees Fahrenheit (Tp), Kelvin (Tk).
TK=(Tr+459.67)*59
Generate a table of conversions from Fahrenherit to Kelvin for values from F to 200F. Allow the
user to enter the increments in degrees F between lines. Use disp and fprintf to create a table with a
title, column beadings, and appropriate spacing.
Question-3(25 points)
What will be the output in the command
window if the following matlab program is
exccuted?
a=4;
b=a2a;
c=a2a2a;
d=sqrt(a);
fprintf(%.4.0 square equals %4.0 of ', a, b)
fprintf(%4.0 cube equals %4.0.1w', a, c)
fprintf(The square root of %2.0 is )
Question-4(25 points)
What will be the output in the command window if the following
matlab program is executed?
??1=0,
??2=0,
N III 9
for k=1:N
sum 1= sum 1+k;
if( mod(k,3)=0)
sum 2=??2+k;
end
end
 Question-1(25 points) Create a function to determine test grades based on

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!