Derivative Lab Report
Derivative Lab Report
This activity aims to get the plot the graph of the differential activity. You might ask, why is it necessary
to plot equations? The reason is to better understand what the values represent or to prove that the
equation is correct.
METHODOLOGY
Start by inputting mostly the same codes as the differential activity. The only difference this time is I
equated vpa to z because this time you will have to call the vpa and the linspace in the plot command.
SCRIPT
syms x
f=0.2+25*x-200*x^2+675*x^3-900*x^4+400*x^5;
x=linspace(0,0.8,9)
y=diff(f)
z=vpa(subs(y,x))
plot(x,z)
RESULTS