Labsheet 439
Labsheet 439
Department of Biomedical
Engineering
Page 1 of 5
City University of Hong Kong
2.Objectives :
Dependent
variable
= f æç independen
variables
t
, parameters ,
forcing ö
÷
functions ø
è
where the dependent variable is a characteristic that usually reflects the
behaviour or state of the system; the independent variables are usually
the dimensions along which the system’s behaviour is being
determined; the parameters are reflective of the system’s properties or
composition; and the forcing functions are external influences acting
upon the system [1].
Page 2 of 5
4.Equipment : (1) One set of PC computer with MS Windows
5. Problem Statement:
A parachutist of mass 68.1 kg jumps out of a stationary hot air balloon. The air
resistance force on the parachutist is assuming to be proportional to the square of the
velocity with the air drag coefficient of 0.25 kg/m (See Eq.1).
gm æ gc ö
v (t ) = tanhç t÷ Eq.2
c è m ø
v is the velocity of the free falling parachutist
m is the mass of the parachutist, 68.1 kg
g is the gravitational constant, 9.81 m/s2
c is the air draft coefficient, 0.25 kg/m
t is time in seconds
tanh is the hyperbolic tangent
Hint: dx 1 1+ x
ò 1- x = ln
2 2 1- x
+ C,
1 é1 + x ù
tanh -1( x ) = lnê
2 ë 1 - x úû
ii. Based on Eq.2, develop a MATLAB program to compute the velocity for the
first 12 seconds of the free falling parachutist with the step size of 2 seconds.
iii. Use Eq.2 to derive the terminal velocity when the parachutist is allowed to
free fall for an infinitely long time period. Apply a longer time period to the
MATLAB program developed in (ii) to find the terminal velocity and then
comment the two results.
Hint: Find tanh(∞) first before using Eq. 2 to calculate the terminal velocity
and tanh(∞)→1.
Page 3 of 5
iv. Apply numerical method to verify the following equation (Eq. 3) for
approximating the exact solution of Eq. 2.
é c ù
v (ti+1) = v (ti ) + êg - v (t i )2 ú(ti+1 - t i ) Eq.3
ë m û
v. Based on Eq.3, develop MATLAB programs to compute the velocity for the
first 12 seconds of the free falling parachutist with the step size of 2 seconds
vi. Compare and comment the results obtained from (ii) and (v)
vii. Repeat (v) but reduce the step size to 0.5 seconds
viii. Compare and comment the results obtained from (ii) and (vii)
Note:
a. All the computed results should be expressed in the form of tables and if
appropriate also in the form of graphs;
b. Functions should be used wherever possible to simply the program
structure and also to allow program codes to be re-used;
c. Program testing is an important part of software development. So, it is
important to verify the correctness of the developed program;
d. Use the ‘print screen’ button on the keyboard to capture the MATLAB
output display and insert the image into your Microsoft Word report
document file to prove that the computed results are actually generated
from MATLAB .
6. Reference:
Steven C. Chapra and Raymond P. Canale, Numerical Methods for Engineers with
Software and Programming Applications, Fourth Edition, McGraw-Hill Higher
Education, ISBN 0-07-243193-8
Page 4 of 5
7. Submission Guidelines
i. Group Work
a. Form your own small group of 3/4 students;
b. Each group should submit a group coursework report and a CD with
MATLAB Programs stated in your report;
c. The group report should at least contain solutions for section 5 (i-ix).
Page 5 of 5