Question: in matlab 1/.Read the given MATLAB codes, answer the following four questions: % Prompt the user for the values x and y * input('Enter the

in matlab in matlab 1/.Read the given MATLAB codes, answer the following four questions:

1/.Read the given MATLAB codes, answer the following four questions: % Prompt the user for the values x and y * input('Enter the x coefficient: "); y=input ("Enter the y coefficient: "); % Calculate the function fix.y) based upon the signs of x and y. if x=0 if yo fun= x+y: cise fun-x+y^4 end else if yo fun*^4 + y else fun - x^4 + 4 end end 96 Write the value of the function. disp (['The value of the function is ' num2 str{ fun)]); (1) if x = -2, y = -2, then write down the output. (2) if x=0.1. y = 0, then write down the output. (3) if x=2, y=- 2, then write down the output. (4) if x = -0.1, y = 0, then write down the output

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!