2_Junak_Blake_LABHW08A

# 2_Junak_Blake_LABHW08A - %This is the combined information...

This preview shows pages 1–3. Sign up to view the full content.

>> run('/Users/bjunak5/Documents/School/EGR 102/LabHW08A.m') Final_Velocities = 44.5951 62.2499 48.8539 42.1610 52.2570 rows = 2 5 3 1 4 columns = 10 11 12 13 14 %Blake Junak %Section 2 %This script is used to calculate the velocity of a parachutist for the %first 20 seconds of a jump %the constant for acceleration due to gravity: g=9.81; %m/s^2 %The array will be as follows: Time=(0:.5:20); V=[0:1:40; 0:1:40; 0:1:40]; %The parachutists have the following properties: mass=[70.1 82.5 90]; cd=[15.22 12.35 17.72]; %This is the equation used to calculate the velocity of a free-falling %parachutist with linear drag: P1=((g*mass(1))./cd(1)).*(1-exp(-(cd(1)./mass(1)).*Time)); P2=((g*mass(2))./cd(2)).*(1-exp(-(cd(2)./mass(2)).*Time)); P3=((g*mass(3))./cd(3)).*(1-exp(-(cd(3)./mass(3)).*Time)); Velocity=[P1; P2; P3];

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
%This is the information for the 4th and 5th parachute load( '/Volumes/UNTITLED/Lab08A_HW_Data.mat'
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ); %This is the combined information All_Velocity=[Velocity;Additional_Parachutists]; Final_Velocities=All_Velocity(1:5,end) %Part 4: Velocity between 32 and 34 m/s: [rows, columns]=find(All_Velocity>=32&All_Velocity<=34) corresponding_time=(Time(columns)); %Graph grid on plot(Time, P1, '--.r' ) hold on plot(Time, P2, 'r' ) plot(Time, P3, 'g' ) plot(Time, Additional_Parachutists, '--' ) legend( 'Parachutist 1' , 'Parachutist 2' , 'Parachutist 3' , 'Parachutist 4' , 'Paracutist 5' ) title( 'Final Velocities' ) xlabel( 'Time(s)' ) ylabel( 'Velocity(m/s)' ) Parachutist 2 reaches the velocity at 4.5s. Parachutist 5 reaches the velocity at 5s. Parachutist 3 reaches the velocity at 5.5s. Parachutist 1 reaches the velocity at 6s. Parachurist 4 reaches the velocity at 6.5s....
View Full Document

{[ snackBarMessage ]}

### Page1 / 3

2_Junak_Blake_LABHW08A - %This is the combined information...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online