This preview shows page 1. Sign up to view the full content.
Unformatted text preview: t = input('Enter time vector in s: ') desc = input('Enter a description of this analysis: ','s') % Display inputs to verify that they are correct m disp(g) c disp('Size of time vector is') disp(size(t)) disp(desc) pause % Calculate falling speed v = sqrt(m*g/c)*tanh(sqrt(g*c/m)*t) % Output final time and falling speed npts = size(t,1) tf = t(npts,1) vf = v(npts,1) disp('Final falling speed in m/s:') disp(vf)...
View Full Document
This note was uploaded on 09/05/2011 for the course EGM 3344 taught by Professor Raphaelhaftka during the Spring '09 term at University of Florida.
- Spring '09