PENYELESAIAN PERSAMAAN
NON LINEAR
➢ Akar-Akar Persamaan
➢ Metode Pencarian Akar Persamaan
Non Linear
➢ Bracketing Method
➢ Open Method
PAGE 1
AKAR-AKAR PERSAMAAN
Kemudian hitung:
xn − xn −1
h = 100%, n 1
xn
Hasil akhir
▪ Akar xn sedemikian sehingga f (xn ) 0.
Metode ini
merupakan
salah satu
alternatif
untuk
mempercepat
konvergensi.
Penyelesaian:
Iterasi 1: a1 = 1 f (a1 ) = −2
b1 = 2 f (b1 ) = 1
a f (b1 ) − b1 f (a1 ) 11 − 2 (− 2)
x1 = 1 = = 1,6667
f (b1 ) − f (a1 ) 1 − (− 2)
f ( x1 ) = (1,667 ) − 3 = −0,2222
2
=
(− 0,2222) 1 − (− 2) (1,6667 ) = 1,7500
(− 0,2222) − (− 2)
f ( x2 ) = (1,7500) − 3 = 0,0626
2
x3 =
(1,7500) (− 0,2222) − (1,6667 ) (0,0626)
(− 0,2222) − (0,0626)
x3 = 1,7317
f ( x3 ) = (1,7317 ) − 3 = −0,0012
2
=
(1,7500) (− 0,0012) − (1,7317 ) (0,0626)
(− 0,0012) − (0,0626)
Dosen Pengampu Analisis Numerik: Siti Muawanah Robial, M.Si PAGE 28
BRACKETING METHOD
2. METODE REGULA FALSI Contoh. 2 Solusi
x5 = 1,73205
f ( x5 ) = (1,73205) − 3 = −0,000002797
2
=
(1,7500) (− 0,000176) − (1,7320) (0,0626)
(− 0,000176) − (0,0626)
x5 = 1,73205
f ( x5 ) = (1,73205) − 3 = −0,000002797
2
Penyelesaian:
f (x0 )
Iterasi 1: f ( x) = x 2 − 6 x + 8 = 0 x1 = x0 −
f ' (x0 )
f ' ( x) = 2 x − 6
8
x0 = 0 ; f ( x0 ) → 0 − (6 0) + 8 = 8
2 = 0−
−6
f ' ( x0 ) → (2 0) − 6 = −6 = 1,3333
Iterasi 2: f ( x) = x 2 − 6 x + 8 = 0
f ' ( x) = 2 x − 6
x1 = 1,3333 ; f ( x1 ) → (1,3333) − (6 1,3333) + 8 = 1,7778
2
Iterasi 3: f ( x) : x 2 − 6 x + 8 = 0
f ' ( x) : 2 x − 6
x2 = 1,8666 ; f ( x2 ) : (1,8666) − (6 1,8666) + 8 = 0,2846
2
Iterasi 4: f ( x) : x 2 − 6 x + 8 = 0
f ' ( x) : 2 x − 6
x3 = 1,9922 ; f ( x3 ) : (1,9922) − (6 1,9922) + 8 = 0,0156
2
y f ( x r ) − f ( xr −1 )
f ' ( x) = =
x x r − xr −1
Dari metode Newton-Raphson diperoleh:
f ( xr )
x r +1 = xr −
f ' ( xr )
f ( x r )( x r − xr −1 )
x r +1 = xr −
f ( x r ) − f ( x r −1 )
x r +1 x r −1 xr
▪ Masukkan dua nilai pendekatan awal yang di antaranya terdapat akar yaitu 𝑥0
dan 𝑥𝑖 , sebaiknya gunakan metode tabel atau grafis untuk menjamin titik
pendakatannya adalah titik pendekatan yang konvergensinya pada akar
persamaan yang diharapkan.
Penyelesaian:
Iterasi 1: Iterasi 2:
f (x ) : x 2 − 6 x + 8 = 0 f (x ) : x 2 − 6 x + 8 = 0
x0 = 0 ; f (x0 ) : 0 2 − (6 0) + 8 = 8 x1 = 1 ; f (x1 ) : 12 − (6 1) + 8 = 3
x1 = 1 ; f (x1 ) : 12 − (6 1) + 8 = 3 x2 = 1,6 ; f (x2 ) : (1,6) − (6 1,6) + 8 = 0,96
2
2 = x2 − x1 = 1,6 − 1 = 0,6 f ( x2 )( x2 − x1 )
x3 = x2 −
f ( x1 )( x1 − x0 ) f ( x2 ) − f ( x1 )
x2 = x1 −
f ( x1 ) − f ( x0 )
x3 = 1,6 −
(0,96) (1,6 − 1) = 1,8824
3 (1 − 0) 0,96 − 3
x2 = 1 − = 1,6
3−8 3 = x3 − x2 = 1,8824 − 1,6 = 0,2824
Dosen Pengampu Analisis Numerik: Siti Muawanah Robial, M.Si PAGE 42
OPEN METHOD 1
2. METODE SECANT Contoh. 4 Solusi
Iterasi 3: f (x ) : x 2 − 6 x + 8 = 0
x2 = 1,6 ; f ( x2 ) : (1,6 ) − (6 1,6 ) + 8 = 0,96
2
f ( x3 )( x3 − x2 )
x4 = x3 −
f ( x3 ) − f ( x2 )
x4 = 1,8824 −
(0,2490) (1,8824 − 1,6)
= 1,9813
0,2490 − 0,96
4 = x4 − x3 = 1,9813 − 1,8824 = 0,0989
Iterasi 4: f (x ) : x 2 − 6 x + 8 = 0
x3 = 1,8824 ; f (x3 ) : (1,8824) − (6 1,8824) + 8 = 0,2490
2
x5 = 1,9813 −
(0,0377 ) (1,9813 − 1,8824)
= 1,9989
0,0377 − 0,2490
5 = x5 − x4 = 1,9989 − 1,9813 = 0,0176
ه ِ
للنهاس لَ َعل ُه ْم ِ buahnya
musim
pada
dengan
setiap
seizin
ِ ِ
ِِبِ ْذن َرّبَا
selalu ingat.” (QS: Ibrahim
Ayat: 25)