% Wes Donald

% Lab 1, 8/23/05, Tuesday

% Plotting

% To illustrate the use of the program

 

t=[0:2:20]'

 

g=9.81; m=68.1; cd=0.25;

v=sqrt(g*m/cd)*tanh(sqrt(g*cd/m)*t)

plot(t,v)

title('Plot of v versus t')

xlabel('Values of t')

ylabel('Values of v')

grid