{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

a5_cee3804_2011_sol

# a5_cee3804_2011_sol - CEE 3804 Computer Applications in...

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

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.

Unformatted text preview: CEE 3804: Computer Applications in Civil Engineering Spring 2011 Assignment 5: Matlab Operations Solution Instructor: Trani Problem 1 Use Matlab to solve this problem A person wearing a parachute jumps from a hovering helicopter at 3,000 meters above ground. Task 1 Neglecting the lateral speed component of the parachutist, calculate the distance traveled (d) and the vertical speed (v) as a function of time (t) according to the following equation: speed = v0 * exp (-cd / m * t) + g*m/cd *(1- exp (-cd /m * t)); distance = g*t / (cd / m) - g/ (cd / m).^2 .* (1- exp (- cd / m * t)) + v0/( cd / m) .* (1- exp (- cd / m * t)); where: the parameters m, cd, m, vo and g are defined as follows: g = 9.81; % acceleration of gravity (m/s-s) cd = 12.5; % drag factor (kg/s) m = 68.1; % mass of the person (kg) v0 = 0; % initial speed (m/s) t = time in seconds Create a regular Matlab script to estimate and plot the speed and distance traveled by the parachutist from the moment of the jump to a point in time 15 seconds after the jump. ____________ Matlab Script ___________ % Script fle For Task1 oF Problem 1 (Assignment 5) % Parameters g = 9.81; % acceleration oF gravity (m/s-s) cd = 12.5; % drag Factor (kg/s) m = 68.1; % mass oF the person (kg) v0 = 0; % initial speed (m/s) t=0:1:15 speed = v0 * exp(-cd / m * t) + g*m/cd *(1-exp(-cd/m * t)) distance = g*t / (cd / m) - g/ (cd / m).^2 .* (1- exp (- cd / m * t)) + v0/( cd / m) .* (1- exp (- cd / m * t)) __________________________ CEE 3804 Trani Page 1 of 12 Task 2 Use the Matlab subplot command to plot both speed and distance on the same figure. Plot and label accordingly. __________ Matlab Script ______________________ % Script fle For Task2 oF Problem 1 (Assignment 5) % Parameters g = 9.81; % acceleration oF gravity (m/s-s) cd = 12.5; % drag Factor (kg/s) m = 68.1; % mass oF the person (kg) v0 = 0; % initial speed (m/s) t=0:1:15 speed = v0 * exp (-cd / m * t) + g*m/cd *(1- exp (-cd /m * t)) distance = g*t / (cd / m) - g/ (cd / m).^2 .* (1- exp (- cd / m * t)) + v0/( cd / m) .* (1- exp (- cd / m * t)) subplot(2,1,1) plot(t,speed); title('Speed'); xlabel('Time (sec)'); ylabel('Speed (m/s)'); grid on subplot(2,1,2) plot(t,distance); title('Distance'); xlabel('Time (sec)'); ylabel('Distance (meters)'); grid on ______________________________________ Task 3 Suppose the parachutist opens the parachute 9 seconds after the jump. At that time, the drag factor (cd) increases tenfold. Modify your script to estimate the new velocity and distance traveled. Make plots. Find how long it takes for the jumper to reach the ground. ___________________ Matlab Script ______________ % Script to estimate the velocity and distance travel by a parachutist in % Free Fall % programmer: A. Trani CEE 3804 Trani Task 2 Use the Matlab subplot command to plot both speed and distance on the same figure. Plot and label accordingly....
View Full Document

{[ snackBarMessage ]}

### Page1 / 12

a5_cee3804_2011_sol - CEE 3804 Computer Applications in...

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

View Full Document
Ask a homework question - tutors are online