Question: Problem One Plot Use MATLAB to plot the following three functions, with the indicated line formats on the same plot window. 1st plot is to

Problem One Plot Use MATLAB to plot the following three functions, with the indicated line formats on the same plot window. 1st plot is to be red and dashed 2nd plot is to be blue and solid % 3rd plot is to be green and dotted y sin(x:) 2sin 2x) y,-sin(3x) The plot range is from-6 to 6. Use enough steps so that the plots are smooth. You must include a title, x and y axis labels, and also a legend. In addition, use the text command to place your name somewhere on the plot Submit both your MATLAB script and a printout of your plot. Problem Two While loop and fprintf: Use MATLAB to solve the following problem. Your MATLAB script will prompt the user to enter a value in miles per hour. The script will convert the miles per hour to feet per second. It will then use the fprintf conmand to print: "xxx.xx miles/hour is the same as yyy.yy feet/second" Where xx.x and yyy.vy are the formats for the mph and fps values. The script will continue to prompt the user for another value until a negative value is entered Include a test run of your script. Copy and paste the command window information to the bottom of your script as comments
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
