lab10 work

# lab10 work - ME 218(17795 Alan Shu-Ming Kwok(sk25784 Lab 10...

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

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' );

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

View Full Document
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
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' );

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 7

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

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

View Full Document
Ask a homework question - tutors are online