Question: NEED ANSWER ASAP XA 0 2 Part a ) Write a script file on Octave based on the following criteria. The users should be able

"NEED ANSWER ASAP
XA02
Part a) Write a script file on Octave based on the following criteria. The users should be able to add a value for x and then see the output y when the program is run. Name the program as Question4.
If x>100, then y=10x
If 100 x 0, then y=x/10
If x<0, then y=abs(x)
Part b) Test your program you created in part a for x=200, x=10, and x=-10."

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 Programming Questions!