Tutorial 1 Numec
Tutorial 1 Numec
Euler’s Method
1.5 Compute the velocity of a free-falling parachutist using Euler’s method for the case where
𝑚 = 80 kg and 𝑐 = 10 kg/s. Perform the calculation from 𝑡 = 0 s to 20 s with a step size of
1 s. Use an initial condition that the parachutist has an upward velocity of 20 m/s at 𝑡 = 0.
At 𝑡 = 10 s, assume that the chute is instantaneously deployed so that the drag coefficient
jumps to 50 kg/s. Given that
𝑐
𝑣(𝑡𝑖+1 ) = 𝑣(𝑡𝑖 ) + (𝑔 − 𝑚 𝑣(𝑡𝑖 )) × (𝑡𝑖+1 − 𝑡𝑖 ) (1.12)
where 𝑔 is the acceleration due to gravity ( 𝑔 = 9.8 ms-2), and 𝑐 is the drag coefficient.
where 𝑘 is a constant with units of day-1. Therefore, a mass balance for the reactor can be
written as
𝑑𝐶
= −𝑘𝑐
𝑑𝑡
change decrease
in mass by decay
Use Euler’s method to solve this equation from 𝑡 = 0 to 1 day, with 𝑘 = 0.2 day-1. Employ
a step size of ∆𝑡 = 0.1. The concentration at 𝑡 = 0 is 10 Bq/L.
1
1.14 Newton’s law of cooling says that the temperature of a body changes at a rate proportional
to the difference between its temperature and the ambient temperature,
𝑑𝑇
= −𝐾(𝑇 − 𝑇𝑎 )
𝑑𝑡
where 𝑇 = the temperature of the body (°C), 𝑡 = time (min), 𝐾 = the proportionality constant
(per minute), an 𝑇𝑎 = the ambient temperature (°C). Suppose that a cup of coffee originally
has a temperature of 68 °C. Use Euler’s method to compute the temperature from 𝑡 = 0 to
10 minutes using a step size of 1 minute if 𝑇𝑎 = 21 °C and 𝐾 = 0.017 /min.
4.5 Use zero- through third-order Taylor series expansions to predict f(3), for
𝑓(𝑥) = 25𝑥 3 − 6𝑥 2 + 7𝑥 − 88
Using a base point x = 1. Compute the true percent relative error t for each approximation.