Question: 6. Write a script to plot the function: y = eaw sin(x) on the domain 0 x 47 The script will prompt the user for
6. Write a script to plot the function: y = eaw sin(x) on the domain 0 x 47 The script will prompt the user for the number of equally spaced points on the given domain 0 s r 3 4t. Annotate your plot with the following: A title that includes the function-formula and your name. b. a. X-axis label c. Y-axis label Type: "help plo" within the Matlab command window to learn about how to plot and annotate the plot. Submit only your script for a grade. 7. The graph of the function f(x)-a x'+b-x+cx*+d-x +e, passes through the points (-3, 6.8), (-1.5, 15.2), (0.5, 14.5), (2, -21.2), and (5, 10). Write a script that will prompt for the ordered pairs as inputs and solve five equations with the five unknown constants: a, b, c, d, and e. You need to set up a matrix equation and solve for the unknowns by first finding the inverse of a matrix. V2 y3 Y4 ys 11.1 cl, solve the system: y-X-h, forh. pairl input( 'Enter the first ordered pair as a vector [a, b Put your scripts and functions into a multi-page document and use the courier font. Submit your final document to Harvey
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
