parachutistBasic

parachutistBasic - .. + v0/( cd / m) .* (1- exp (- cd / m *...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
% Script to estimate the velocity and distance travel by a parachutist clear all % Given in the statement of the problem: g = 9.81; % acceleration of gravity (m/s-s) cd = 12.5; % drag coefficient (kg/s) m = 68.1; % mass of the person (kg) v0 = 0; % initial speed (m/s) tc = 8; % time to open the parachute for i=1:1:20 % index for loop time(i) = i -1; % time in seconds v(i) = v0 * exp (-cd / m * time(i)) + g*m/cd *(1- exp (-cd /m * time(i))); x(i) = g*time(i) / (cd / m) - g/ (cd / m).^2 .* (1- exp (- cd / m * time(i))) .
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: .. + v0/( cd / m) .* (1- exp (- cd / m * time(i))); end % Calculate using vector operations in Matlab t = 0:1:20 d = g*t / (cd / m) - g/ (cd / m).^2 .* (1- exp (- cd / m * t)) . .. + v0/( cd / m) .* (1- exp (- cd / m * t)); figure plot(t,d,'o-') xlabel('Time (seconds)') ylabel('Distance Traveled (m)') grid % figure % plot(time,v,'o-') % xlabel('Time (seconds)') % ylabel('Speed (m/s)') % grid % % figure % plot(time,x,'o-') % xlabel('Time (seconds)') % ylabel('Distance Traveled (m)') % grid...
View Full Document

This note was uploaded on 01/01/2012 for the course CEE 3804 taught by Professor Aatrani during the Spring '07 term at Virginia Tech.

Ask a homework question - tutors are online