Graph Plotting Using Matlab

QUESTION 3

Using MATLAB command, write a program to plot the function y=3x3-26x+10 and its first derivative y’=9x2-26 for -2≤x≤4 with increment 0.01, both in the subplot 1st row, 1st column and 1st position.  Plot the second derivative of the function, y’’= 18x for -2≤x≤4 with increment 0.01 in subplot 2nd row, 1st column and 2st position.  Add: legend, grid, xlabel, ylabel, and title as shown in Figure 1.

ANSWER




0 comments:

Post a Comment

Apa komen awak?