Attemtping to plot a graph of the equation displayed below. All I see is a line, where it should be more of a parabola.
g=9.81;z0=100;v0=55;m=80;c=15;for t=0:.1:20z=z0+(m/c)*(v0+(m*g/c))*1-exp(-c*t/m)-m*g*t/c;endplot(t,z)
MATLABplotting
g=9.81;z0=100;v0=55;m=80;c=15;for t=0:.1:20z=z0+(m/c)*(v0+(m*g/c))*1-exp(-c*t/m)-m*g*t/c;endplot(t,z)
Best Answer