You are on page 1of 5

f(x) = 1+xe^-x Metode Tabel

x_atas = 0
x_bawah = -1 i x f(x)
0 -1 -1.71828183
N = 10 1 -0.9 -1.2136428
2 -0.8 -0.78043274
h= 3 -0.7 -0.4096269
0.1 4 -0.6 -0.09327128
5 -0.5 0.17563936
6 -0.4 0.40327012
7 -0.3 0.59504236
8 -0.2 0.75571945
9 -0.1 0.88948291
10 0 1

Bila pada range x = [ -0,6; -0,5], dibagi lagi dengan 10, maka:

x f(x)
-0.6 -0.093271 Diperoleh f(x) yang terdekat dengan 0 adalah
-0.59 -0.064353 x= -0,57 dengan f(x) = -0,00791
-0.58 -0.035902
-0.57 -0.007912
-0.56 0.019623
-0.55 0.046711
-0.54 0.073356
-0.53 0.099566
-0.52 0.125346
-0.51 0.150701
-0.5 0.175639
f(x) = 1+xe^-x Metode Biseksi
a = -1
b=0 i a b f(a) f(b) x
e = 0,001 1 -1 0 -1.718282 1 -0.5
N = 10 2 -1 -0.5 -1.718282 0.175639 -0.75
3 -0.75 -0.5 -0.58775 0.175639 -0.625
h= 4 -0.625 -0.5 -0.167654 0.175639 -0.563
0.1 5 -0.625 -0.5625 -0.167654 0.012782 -0.594
6 -0.59375 -0.5625 -0.075142 0.012782 -0.578
7 -0.578125 -0.5625 -0.030619 0.012782 -0.57
8 -0.570313 -0.5625 -0.00878 0.012782 -0.566
9 -0.570313 -0.566406 -0.00878 0.002035 -0.568
10 -0.568359 -0.566406 -0.003364 0.002035 -0.567

Pada iterasi ke-10 diperoleh x=-0.56738 dan f(x)=-0.00066


f(x) = 1+xe^-x Metode Regula Fasi
x_atas = 0
f(x) abs(b-a) x_bawah = -1 i a
0.175639 1 1 -1
-0.58775 0.5 e = 0,001 2 -1
-0.167654 0.25 N = 20 3 -0.503314
0.012782 0.125 4 -0.503314
-0.075142 0.0625 5 -0.503314
-0.030619 0.03125 6 -0.503314
-0.00878 0.015625 7 -0.503314
0.002035 0.0078125 8 -0.503314
-0.003364 0.00390625 9 -0.503314
-0.000662 0.001953125 10 -0.503314
:
:
:
20 -0.56755

Akar persamaan di x=-0.56741 dengan an k


b f(a) f(b) x f(x)
0 -1.718281828459 1 -0.368 0.468536
-0.367879 -1.718281828459 0.468536394613384 -0.503 0.16742
-0.367879 0.167420076182 0.468536394613384 -0.579 -0.032001
-0.578616 0.167420076182 -0.032000748657989 -0.567 0.001687
-0.566532 0.167420076182 0.00168733693873 -0.567 -9.03E-05
-0.567176 0.167420076182 -9.03061236205982E-05 -0.567 4.829E-06
-0.567142 0.167420076182 4.82934077861152E-06 -0.567 -2.58E-07
-0.567143 0.167420076182 -2.58271773079244E-07 -0.567 1.381E-08
-0.567143 0.167420076182 1.38122695503284E-08 -0.567 -7.39E-10
-0.567143 0.167420076182 -7.38674676981077E-10 -0.567 3.95E-11

0.412775 -0.00111 1,273,179 -0.567 -0.000737

amaan di x=-0.56741 dengan an kesalahan = -0.00074


abs(fx) fx*fa
0.468536394613384 -0.805078
0.167420076182448 -0.287675
0.032000748657989 -0.005358
0.00168733693873 0.000282
9.03061236203762E-05 -1.51E-05
4.82934077861152E-06 8.085E-07
2.58271773079244E-07 -4.32E-08
1.38122695503284E-08 2.312E-09
7.38674676981077E-10 -1.24E-10
3.95041777068172E-11 6.614E-12

0.000737139041821 8.182E-07

You might also like