Chapter 1 Introduction To Numerical Method 1
Chapter 1 Introduction To Numerical Method 1
INTRODUCTION TO
NUMERICAL METHOD
Presenter: Dr. Zalilah Sharer
© 2018 School of Chemical and Energy Engineering
Universiti Teknologi Malaysia
16 September 2018
Chemical Engineering, Computer
& Numerical Methods
Role of Chemical Engineers
Gauss Seidel
and Engineering
Applications
3
Differentiation & Integration
Numerical
Linear algebraic Roots of equation
Methods
Example: Integration
or
F = m (d/dt)
F ‘+ve’ : accelerate
F ‘-ve’ : decelerate
F = 0 (constant velocity)
Express the net force in term of measurable variables and parameters,
in which the net force is composed of 2 opposing forces:
Fu
The downward pull of gravity FD and the upward force
of air resistance Fu:
F = FD + Fu (eqn. 1.5) FD
If downward force is ‘+ve’, 2nd law can be used to formulate the force
due to gravity, as
FD = mg (eqn. 1.6)
g = 9.8 m/s2
Eq. (1.9) is a differential equation. The exact solution of eq. (1.9) cannot
obtained by simple algebraic manipulation, which needs calculus to
obtain an exact or analytical solution.
Independent variable
v(t )
gm
c
1 e ( c / m ) t
1.10
Dependent variable
Forcing function Parameters
Eq. 1.10 is called analytical/exact solution because it
exactly satisfies the original differential equation.
(t) = dependent variable
t = independent variable
c & m = parameters
g = the forcing function
gm
c
t
v(t)
1
e m
c
(9.8)(68.1)
12.5
t
v(t)
1 e 68.1
12.5
v(t) 53.391 e0.18355t
dv v v(ti 1 ) v(t i )
eqn. 1.11
dt t t i 1 t i
Substituted into eq. (1.9) to give:
v(ti 1 ) v(t i )
g v t i
c
t i 1
ti m
v(t i 1) v(t i ) g - v(t i ) t i 1 - t i
c eqn. 1.12
m
v(t i 1) v(t i ) g - v(t i ) t i 1 - t i
c
m Eqn. 1.12
Solution
At start of the computation (ti=0), the velocity of the
parachutist is zero. First interval (from t=0 to 2s)
12.5
v 0 9.8 0 2 19.60m/s
68.1
12.5
v 19.60 9.8 19.60 2 32.00m/s
68.1
8 44.82 20
10 47.97
10
12 49.96
53.39 0
0 2 4 6 8 10 12 14
t,s
Analytical vs numerical solution
• In general:
• New value = old value + (slope x step size)