Professional Documents
Culture Documents
• TIU :
Mahasiswa dapat mencari akar-akar suatu persamaan, menyelesaikan
persamaan aljabar linear, pencocokan kurva, dan membuat program
aplikasi analisis numeriknya
• TIK :
Mahasiswa dapatmemberikan definisi tentang analisis numerik dan
tingkat ketelitian dari perhitungan dengan solusi numerik
a home base to excellence
• Bobot Penilaian :
• Tugas : 25 %
• Ujian Tengah Semester : 30%
• Ujian Akhir Semester : 45%
a home base to excellence
The engineering
problem solving
process
a home base to excellence
• Finally : dv c
g v
dt m
• This is a differential equation and is written in
terms of the differential rate of change dv/dt of
the variable that we are interested in predicting
• The exact solution 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.
a home base to excellence
vt
gm
c
1 e c / m t
(1)
Independent variable
Dependent variable Parameters
Forcing function
a home base to excellence
Example 1 :
A parachutist of mass 68,1 kg
jumps out a stationary hot air
balloon. Compute velocity prior to
opening the chute. The drag
coefficient is equal to 12.5 kg/s.
Inserting the parameters into the
equation (1) above yields :
vt
9 ,8 68,1
12 ,5
1 e 12 ,5 / 68 ,1t 53,39 1 e 0 ,18355t
a home base to excellence
• As mentioned previously,
numerical methods are those in
which the mathematical problem
is reformulated so it can be solved
by arithmetic operations.
• This can be illustrated for
Ne to ’s second law by realizing
that the time rate of change of
velocity can be approximated by
dv v vti 1 vti
(2) dv v
dt t ti 1 ti Remember : lim
dt t 0 t
a home base to excellence
• Rearranged to yield :
vti 1 vti g vti ti 1 ti
c
(3)
m
this app oa h is fo all alled Eule ’s ethod
a home base to excellence
Example 2 :
Perform the same computation as in Example 1 but use
Equation (3) to compute the velocity. Employ a step size of 2 s
for the calculation.
At the start of the computation (ti =0), the velocity of the
parachutist is zero.
Using this information and the parameter values from Example
1, Eq. (3) can be used to compute velocity at ti+1=2s:
12 ,5
vt 2 0 9 ,8 0 2 19,60 m/s
68,1
a home base to excellence
Example 2 :
For the next interval (from t =2to 4 s), the computation is
repeated, with the result :
vt 4 19 ,60 9 ,8
12 ,5
19,60 2 32,00 m/s
68,1
a home base to excellence
• Significant Figure
a home base to excellence
The concept of significant figures has two important implications for our
study of numerical methods:
1. As introduced in the falling parachutist problem, numerical methods
yield approximate results. We must, therefore, develop criteria to
specify how confident we are in our approximate result. One way to do
this is in terms of significant figures. For example, we might decide that
our approximation is acceptable if it is correct to four significant figures.
2. Although ua tities su h as π, e, o √ ep ese t specific quantities,
they cannot be expressed exactly by a limited number of digits. For
e a ple, π= . ...
Because computers retain only a finite number of significant figures, such
numbers can never be represented exactly. The omission of the remaining
significant figures is called round-off error.
a home base to excellence
Example 3 :
Suppose that you have the task of measuring
the lengths of a bridge and a rivet and come up
with 9999 and 9 cm, respectively. If the true
values are 10,000 and 10 cm, respectively,
compute (a) the true error and (b) the true
percent relative error for each case.
a home base to excellence
Example 4 :
• In mathematics, functions can often be represented by
infinite series. For example, the exponential function can be
computed using Maclaurin series expansion
x 2 x3 xn
e 1 x
x
...
2 3! n!
Metode Terbuka
(Open Methods)
Pertemuan - 3
a home base to excellence
• TIU :
Mahasiswa dapat mencari akar-akar suatu persamaan, menyelesaikan
persamaan aljabar linear, pencocokan kurva, dan membuat program
aplikasi analisis numeriknya
• TIK :
Mahasiswa dapat menjelaskan Metode Terbuka (Open Methods)
untuk menyelesaikan permasalahan akar-akar persamaan
a home base to excellence
• As such, they
sometimes diverge or
move away from the
true root as the
computation
progresses (Fig. b).
• However, when the
open methods
converge (Fig. c), they
usually do so much
more quickly than the
bracketing methods.
a home base to excellence
sin x 0 x sin x x
a home base to excellence
xi 1 xi
a 100%
xi 1
a home base to excellence
Example 1 :
Use simple fixed-point iteration to locate the
root of f(x)=e−x− x
The function can be separated directly and expressed
in the form
xi+1=e−xi
a home base to excellence
Example 2 :
Use the Newton-Raphson method to estimate
the root of f(x)=e−x− x, employing an initial
guess of x0 = 0
The first derivative of the function can be evaluated as
f(x = −e− − , hi h can be substituted along with the
original function into Eq. (3) to give
e xi xi
xi 1 xi xi
e 1
a home base to excellence
a (%) t (%)
/
Iterasi xi f(x i ) f (x i )
1 0 1 -2
2 0,5 0,1065 -1,607
3 0,5663 0,0013 -1,568
4
5
f xi 1 f xi
f xi
xi 1 xi
This approximation can be
substituted into Eq. (3) to
yield the following iterative
equation:
f xi xi 1 xi
xi 1 xi (4)
f xi 1 f xi
a home base to excellence
Example 3 :
Use the Secant method to estimate the root of
f(x)=e−x− x, employing an initial guess of x0 = 0
Start with initial estimates of x−1 =0 and x0= 1.0.
Homework
Homework
Homework