lab10 work - ME 218 (17795) Alan Shu-Ming Kwok (sk25784)...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
ME 218 (17795) Alan Shu-Ming Kwok (sk25784) Lab 10 clf; clear all ; t = 0:.1:3; v = 32/1.5.*exp(-1.5.*t) - 32.2/ 1.5; plot(t,v); xlabel( 'Time(s)' ); ylabel( 'Velocity(m/s)' ); title( 'Alan kwok Parachute Plot' );
Background image of page 1

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

View Full DocumentRight Arrow Icon
ME 218 (17795) Alan Shu-Ming Kwok (sk25784) Lab 10 clear all ; g = 32; rho = 1.5; deltat = 0.5; v(1) = 0; t(1) = 0; dvdt(1) = -rho*v(1) - g; v(2) = v(1) + deltat * dvdt(1); t(2) = deltat; dvdt(2) = -rho*v(2) - g; v(3) = v(2) + deltat*dvdt(2); t(3) = 2*deltat; >> v v = 0 -16 -20
Background image of page 2
ME 218 (17795) Alan Shu-Ming Kwok (sk25784) Lab 10 clf; clear all ; g = 32; rho = 1.5; deltat = 0.5; v(1) = 0; t(1) = 0; dvdt(1) = -rho*v(1) - g; v(2) = v(1) + deltat * dvdt(1); t(2) = deltat; dvdt(2) = -rho*v(2) - g; v(3) = v(2) + deltat*dvdt(2); t(3) = 2*deltat; dvdt(3) = -rho*v(3) - g; v(4) = v(3) + deltat*dvdt(3); t(4) = 3*deltat; t2 = 0:.1:3; v2 = 32/1.5.*exp(-1.5.*t2) - 32.2/ 1.5; plot(t2,v2); hold on ; plot(t,v, 'o' ); xlabel( 'Time(s)' ); ylabel( 'Velocity(m/s)' ); title( 'Alan kwok Parachute Plot' );
Background image of page 3

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

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 7

lab10 work - ME 218 (17795) Alan Shu-Ming Kwok (sk25784)...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online