Euler's Method
Euler's Method
Methods
Engr. Diane H. Villanueva
Developing a Mathematical Model
A mathematical model can be broadly defined as a formulation or
equation that expresses the essential features of a physical system
or process in mathematical terms. In a very general sense, it can be
represented as a functional relationship of the form
Eq 1.1
Developing a Mathematical Model
Eq 1.2
Eq 1.3
Eq 1.4
Developing a Mathematical Model
Newtons second law can be used to determine the
terminal velocity of a free-falling body near the
earth’s surface. Our falling body will be a
parachutist.
Eq 1.8
Eq 1.9
Developing a Mathematical Model
Equation (1.9) is a model that relates the acceleration of a falling
object to the forces acting on it. It is a differential equation because
it is written in terms of the differential rate of change (dv/dt) of the
variable that we are interested in predicting.
Developing a Mathematical Model
However, in contrast to the solution of Newton’s second law in Eq.
(1.3), the exact solution of Eq. (1.9) for the velocity of the falling
parachutist cannot be obtained using simple algebraic
manipulation. Rather, more advanced techniques, such as those of
calculus, must be applied to obtain an exact or analytical solution.
For example, if the parachutist is initially at rest (y = 0 at t = 0),
calculus can be used to solve Eq. (1.9) for
Eq. 1.10
Analytical (Exact) Solution
Example 1.1 A parachutist of mass 68.1 kg jumps out of a stationary
hot air balloon. Use Eq. 1.10 to compute velocity prior to opening
the chute. The drag coefficient is equal to 12.5 kg/s.
Eq. 1.10
Analytical (Exact) Solution
Example 1.1 A parachutist of mass 68.1 kg jumps out of a stationary
hot air balloon. Use Eq. 1.10 to compute velocity prior to opening
the chute. The drag coefficient is equal to 12.5 kg/s.
Eq. 1.10
Solution:
Analytical (Exact) Solution
Eq. 1.12
Numerical Solution
Rearranging Eq. 1.12
Eq. 1.13
Solution:
ti = 0, v(ti) = 0 ;
ti+1 = 2, v(ti+1) = 19.62 m/s
ti+2 = 2, v(ti+2) = 32.04 m/s
Numerical Solution
Seatwork 1
As depicted in the figure, an RLC circuit (a) If the initial values are i(0) = 0 and
consists of three elements: a resistor (R), q(0) = 1 C, use Euler’s method to
and inductor (L) and a capacitor (C). The solve this pair of differential
flow of current across each element equations from t = 0 to 0.1 s using a
induces a voltage drop. step size of Δt = 0.01 s. Employ the
Kirchhoffs second voltage law states that following parameters for your
the algebraic sum of these voltage drops calculation: R = 200 Ω, L = 5 H, and C
around a closed circuit is zero, = 10–4 F.
(b) Develop a plot of i and q versus t.