You are on page 1of 9

Bisection Method

yefta peter mangalik


Contoh soal:
Carilah nilai x yang memenuhi persamaan tan x = 1/x dengan metode bisection
Jawab:
Susun ulang persamaan menjadi x.tanx1=0
Sehingga:

f(x) = x.tan x 1
xn

0.5

xn+1

f(xn) = x tan x 1

= -0.726849

f(xn+1) = x tan x 1

= 0.5574077

n
1
1
2
3
4
5
6
7
8
9
10
11
12
13
14

xn

xn+1

f(xn)

2
0.5
0.75
0.75
0.812500
0.843750
0.859375
0.859375
0.859375
0.859375
0.859375
0.859863
0.860107
0.860229
0.860291

3
1
1
0.87500
0.875000
0.875000
0.875000
0.867188
0.863281
0.861328
0.860352
0.860352
0.860352
0.860352
0.860352

4
-0.72685
-0.30130
-0.30130
-0.142221
-0.051553
-0.003049
-0.003049
-0.003049
-0.003049
-0.003049
-0.001497
-0.000720
-0.000331
-0.000137

Jadi nilai x dari persamaan f(x)= x.tanx1 adalah:

f(xn+1) xr = (xn + xn+1)/2


5
6
0.55741
0.75
0.55741
0.875
0.04774
0.81250
0.047744 0.843750
0.047744 0.859375
0.047744 0.867188
0.022053 0.863281
0.009429 0.861328
0.003172 0.860352
0.000057 0.859863
0.000057 0.860107
0.000057 0.860229
0.000057 0.860291
0.000057 0.860321
0.860291

od

Sumber: Modul sistem persamaan non-liner


f(xr)
7
-0.3013
0.0477
-0.14222
-0.051553
-0.003049
0.022053
0.009429
0.003172
0.000057
-0.001497
-0.000720
-0.000331
-0.000137
-0.000040

(4)*(7)
8
0.21900
-0.01439
0.04285
0.007332
0.000157
-0.000067
-0.000029
-0.000010
0.000000
0.000005
0.000001
0.000000
0.000000
0.000000

9
0.5
0.25
0.142857
0.071429
0.035714
0.017857
0.009009
0.004525
0.002268
0.001135
0.000568
0.000284
0.000142
0.000071

persamaan non-liner

Modified Newton-Raphson Method


yefta peter mangalik
Contoh soal:
Carilah nilai x yang memenuhi persamaan tan x = 1/x dengan Modified Newton-Raphson Method
Jawab:
Susun ulang persamaan menjadi x.tanx1=0
Sehingga:

f(x) = x.tan x 1
f(x) = xtanx-1
f(x) = tanx+xsec2x
xn =
1
f(1) = xtanx-1

= 0.557408

f(1) = tanx+xsec2x

4.98293

Sumber: Modul sistem persamaa


n
1
1
2
3
4
5
6
7
8
9
10
11
12
13
14

Xn

xn+1

f(xn)

2
1
0.888137
0.869608
0.863598
0.861501
0.860754
0.860485
0.860388
0.860353
0.860341
0.860336
0.860335
0.860334
0.86033

3
0.888137
0.869608
0.863598
0.861501
0.860754
0.860485
0.860388
0.860353
0.860341
0.860336
0.860335
0.860334
0.860334
0.860334

4
0.557408
0.092325
0.02995
0.010447
0.003726
0.001339
0.000482
0.000174
6.27E-005
2.26E-005
8.17E-006
2.95E-006
1.06E-006
3.84E-007

e
5
0.125953
0.021306
0.006960
0.002434
0.000869
0.000312
0.000112
0.000041
1.46E-05
5.28E-06
1.91E-06
6.87E-07
2.48E-07
8.95E-08

Jadi nilai x dari persamaan f(x)= x.tanx1 adalah:

###

son Method

on-Raphson Method

odul sistem persamaan non-liner

Secant Method
yefta peter mangalik
Contoh soal:
Carilah nilai x yang memenuhi persamaan tan x = 1/x dengan Secant Method
Jawab:
Susun ulang persamaan menjadi x.tanx1=0
Sehingga:

f(x) = x.tan x 1
n
1
1
2
3
4
5
6
7
8

xn-1

Xn

xn+1

f(xn-1)

f(xn)

2
1.1

3
1
0.907688
0.869845
0.860992
0.860343
0.860334
0.860334
0.86033

4
0.907688
0.869845
0.860992
0.860343
0.860334
0.860334
0.860334
0.86033

5
1.161236
0.557408
0.162066
0.030725
0.002101
2.94E-005
2.86E-008
3.90E-013

6
0.557408
0.162066
0.030725
0.002101
2.94E-005
2.86E-008
3.90E-013
0

1
0.907688
0.869845
0.860992
0.860343
0.860334
0.86033

Jadi nilai x dari persamaan f(x)= x.tanx1 adalah:

###

e
7
0.101701
0.043505
0.010282
0.000755
1.07E-005
1.04E-008
1.42E-013
0

Sumber: Modul sistem persamaan non-liner

You might also like