You are on page 1of 6

y = -1.04 ln x - 1.26 cos x + 0.

0307 e^x
x y 0.060816
0.02 2.840076
3.5
0.080816 1.393596
0.141633 0.820687 3
0.202449 0.46448
2.5
0.263265 0.211336
0.324082 0.019872 2
0.384898 -0.12973
1.5
0.445714 -0.24856
0.506531 -0.34346 1
0.567347 -0.419
0.5
0.628163 -0.47839
0.68898 -0.524 0
0 0.5 1 1.5 2 2.5 3
0.749796 -0.55765 -0.5
0.810612 -0.58079
0.871429 -0.5946 -1
0.932245 -0.60005
f (x )
0.993061 -0.59801
1.053878 -0.5892 x =x -
i +1 i '
i

1.114694 -0.5743 f (x ) i delta 1.00E-06


1.17551 -0.5539
1.236327 -0.52855 i x f(x) x2 dx y1
1.297143 -0.49876 0 1.5 -0.3732247321 1.50E+00 1.00E-06 -0.3732247321
1.357959 -0.46501 1 2.0323427537 0.057863858 2.0323438 0.000001 0.057863858
1.418776 -0.42774 2 1.9643264998 -0.0001126527 1.9643275 0.000001 -0.0001126527
1.479592 -0.38739 3 1.9644585449 4.5190768E-11 1.9644595 0.000001 4.5190768E-11
1.540408 -0.34435 4 1.9644585449 0 1.9644595 0.000001 0
1.601224 -0.29902 5 1.9644585449 0 1.9644595 0.000001 0
1.662041 -0.25177 6 1.9644585449 0 1.9644595 0.000001 0
1.722857 -0.20295 7 1.9644585449 0 1.9644595 0.000001 0
1.783673 -0.1529 8 1.9644585449 0 1.9644595 0.000001 0
1.84449 -0.10195 9 1.9644585449 0 1.9644595 0.000001 0
1.905306 -0.05041
1.966122 0.00142
2.026939 0.053265
2.087755 0.104858
2.148571 0.155947
2.209388 0.206299
2.270204 0.255697
2.33102 0.303942
2.391837 0.350854
2.452653 0.39627
2.513469 0.44005
2.574286 0.482071
2.635102 0.522235
2.695918 0.560462
2.756735 0.596698
2.817551 0.630912
2.878367 0.663094
2.939184 0.693263
3 0.72146
Tentukan tebakan awal: xR, xL
Evaluasi: FL, FR
Hitung: xM = (xR + xL)/2
Evaluasi FM
Jika FM = 0, stop perhitungan, x* = xM
Jika (FM*FR) < 0, maka
xL = x M
F L = FM
Jika tidak
xR = x M
F R = FM
Jika abs((xR xL)/xR) > XTOL kembali ke 3
Hitung x* = (xR + xL)/2
Selesai

2.5 3 3.5

Xl XR FL FR XM FM FM*FR
1.5 2 -0.37322 0.030316 1.75 -0.18074 -0.00548
1.75 2 -0.18074 0.030316 1.75 -0.18074 -0.00548
1.75 2 -0.18074 0.030316 1.875 -0.07615 -0.00231
1.875 2 -0.07615 0.030316 1.875 -0.07615 -0.00231
1.875 2 -0.07615 0.030316 1.9375 -0.02299 -0.0007
1.9375 2 -0.02299 0.030316 1.9375 -0.02299 -0.0007
y2 f'(x) 1.9375 2 -0.02299 0.030316 1.96875 0.003661 0.000111
-3.73E-01 7.01E-01 1.9375 1.96875 -0.02299 0.003661 1.953125 -0.00967 -3.54E-05
0.0578647087 0.8507357 1.953125 1.96875 -0.00967 0.003661 1.953125 -0.00967 -3.54E-05
-0.0001117996 0.8531379 1.953125 1.96875 -0.00967 0.003661 1.960938 -0.003 -1.1E-05
8.5318374E-07 0.8531386 1.960938 1.96875 -0.003 0.003661 1.960938 -0.003 -1.1E-05
8.5313855E-07 0.8531386 1.960938 1.96875 -0.003 0.003661 1.964844 0.000329 1.2E-06
8.5313855E-07 0.8531386 1.960938 1.964844 -0.003 0.000329 1.962891 -0.00134 -4.4E-07
8.5313855E-07 0.8531386 1.962891 1.964844 -0.00134 0.000329 1.962891 -0.00134 -4.4E-07
8.5313855E-07 0.8531386 1.962891 1.964844 -0.00134 0.000329 1.963867 -0.0005 -1.66E-07
8.5313855E-07 0.8531386 1.963867 1.964844 -0.0005 0.000329 1.963867 -0.0005 -1.66E-07
8.5313855E-07 0.8531386 1.963867 1.964844 -0.0005 0.000329 1.964355 -8.79E-05 -2.89E-08
1.964355 1.964844 -8.79E-05 0.000329 1.964355 -8.79E-05 -2.89E-08
1.964355 1.964844 -8.79E-05 0.000329 1.9646 0.00012 3.96E-08
1.964355 1.9646 -8.79E-05 0.00012 1.964478 1.62E-05 1.95E-09
1.964355 1.964478 -8.79E-05 1.62E-05 1.964417 -3.59E-05 -5.81E-10
1.964417 1.964478 -3.59E-05 1.62E-05 1.964417 -3.59E-05 -5.81E-10
1.964417 1.964478 -3.59E-05 1.62E-05 1.964447 -9.83E-06 -1.59E-10
1.964447 1.964478 -9.83E-06 1.62E-05 1.964447 -9.83E-06 -1.59E-10
1.964447 1.964478 -9.83E-06 1.62E-05 1.964462 3.19E-06 5.16E-11
1.964447 1.964462 -9.83E-06 3.19E-06 1.964455 -3.32E-06 -1.06E-11
1.964455 1.964462 -3.32E-06 3.19E-06 1.964455 -3.32E-06 -1.06E-11
1.964455 1.964462 -3.32E-06 3.19E-06 1.964458 -6.77E-08 -2.16E-13
1.964458 1.964462 -6.77E-08 3.19E-06 1.964458 -6.77E-08 -2.16E-13
1.964458 1.964462 -6.77E-08 3.19E-06 1.96446 1.56E-06 4.97E-12
1.964458 1.96446 -6.77E-08 1.56E-06 1.964459 7.46E-07 1.16E-12
1.964458 1.964459 -6.77E-08 7.46E-07 1.964459 3.39E-07 2.53E-13
1.964458 1.964459 -6.77E-08 3.39E-07 1.964459 1.36E-07 4.6E-14
1.964458 1.964459 -6.77E-08 1.36E-07 1.964459 3.41E-08 4.62E-15
1.964458 1.964459 -6.77E-08 3.41E-08 1.964459 -1.68E-08 -5.72E-16
1.964459 1.964459 -1.68E-08 3.41E-08 1.964459 -1.68E-08 -5.72E-16
1.964459 1.964459 -1.68E-08 3.41E-08 1.964459 8.63E-09 2.94E-16
1.964459 1.964459 -1.68E-08 8.63E-09 1.964459 -4.09E-09 -3.53E-17
1.964459 1.964459 -4.09E-09 8.63E-09 1.964459 -4.09E-09 -3.53E-17
1.964459 1.964459 -4.09E-09 8.63E-09 1.964459 2.27E-09 1.96E-17
tol 1.00E-06

0.125
0.125
0.0625
0.0625
0.03125
0.03125
0.015873
0.007937
0.007937
0.003968
0.003968
0.001988
0.000994
0.000994
0.000497
0.000497
0.000249
0.000249
0.000124
6.21E-05
3.11E-05
3.11E-05
1.55E-05
1.55E-05
7.77E-06
3.88E-06
3.88E-06
1.94E-06
1.94E-06
9.71E-07
4.85E-07
2.43E-07
1.21E-07
6.07E-08
3.03E-08
3.03E-08
1.52E-08
7.59E-09
7.59E-09