Question 2 (3.75 pts) 1. Write a MATLAB code to Plot the function y = 2X3+ 19X - 5, and its first and second derivatives
Posted: Tue May 24, 2022 8:09 am
Question 2 (3.75 pts) 1. Write a MATLAB code to Plot the function y = 2X3+ 19X - 5, and its first and second derivatives, for -1 ≤ x ≤ 5, all in the same Figure. 2. Using a red solid line color for the function f and blue dash line for the first derivative and black dotted line for the second derivative. 3. Add axis labels to the graph 4. Add legend