In: Mechanical Engineering
a MATLAB script that: • Prompts the user for - a lower-bound for the plot interval and stores it in a variable named Lbound - an upper-bound for the plot interval and stores it in a variable named Ubound, and - the number of points at which a function is to be evaluated to generate a plot of the function over the specified range and stores it in a variable named npoints. • Generates a plot of f(x) = x3 - 3x2 – x + 3 over the specified range using the specified number of points. The plot title should be “f(x) = x^3 - 3x^2 – x + 3”, the axis labeled “x”, and the y-axis labeled f(x). NOTE: There should not be any display of information to the CW. Suggestion: You should be able see the interesting portion of this function if you plot on -1.5 ≤ x ≤ 3.5.