You are on page 1of 4

MENCARI AKAR PERSAMAAN NON-LINEAR

METODE BAGI DUA

Fungsi: 𝑓(𝑥)=𝑥^2−6𝑥+8
Interval awal: [3,6]
Batas error: 0.0005

Iterasi a c b f(a) f(c) f(b) f(a)*f(c)


1 3.000000 4.500000 6.000000 -1.000000 1.250000 8.000000 -1.250000
2 3.000000 3.750000 4.500000 -1.000000 -0.437500 1.250000 0.437500
3 3.750000 4.125000 4.500000 -0.437500 0.265625 1.250000 -0.116211
4 3.750000 3.937500 4.125000 -0.437500 -0.121094 0.265625 0.052979
5 3.937500 4.031250 4.125000 -0.121094 0.063477 0.265625 -0.007687
6 3.937500 3.984375 4.031250 -0.121094 -0.031006 0.063477 0.003755
7 3.984375 4.007813 4.031250 -0.031006 0.015686 0.063477 -0.000486
8 3.984375 3.996094 4.007813 -0.031006 -0.007797 0.015686 0.000242
9 3.996094 4.001953 4.007813 -0.007797 0.003910 0.015686 -0.000030
10 3.996094 3.999023 4.001953 -0.007797 -0.001952 0.003910 0.000015
11 3.999023 4.000488 4.001953 -0.001952 0.000977 0.003910 -0.000002
12 3.999023 3.999756 4.000488 -0.001952 -0.000488 0.000977 0.000001
13 3.999756 4.000122 4.000488 -0.000488 0.000244 0.000977 0.000000
14 3.999756 3.999939 4.000122 -0.000488 -0.000122 0.000244 0.000000
lebar int ket
3.000000 lanjut
1.500000 lanjut
0.750000 lanjut
0.375000 lanjut
0.187500 lanjut
0.093750 lanjut
0.046875 lanjut
0.023438 lanjut
0.011719 lanjut
0.005859 lanjut
0.002930 lanjut
0.001465 lanjut
0.000732 lanjut
0.000366 stop
Fungsi:f(x)=x³+x²-4x-2
Interval:=[0,2]
Batas Eror:=0.0005

Iterasi a c b f(a) f(c) f(b) f(a)*f(c)


1 0.000000 1.000000 2.000000 -2.000000 -4.000000 2.000000 8.000000
2 1.000000 1.500000 2.000000 -4.000000 -2.375000 2.000000 9.500000
3 1.500000 1.750000 2.000000 -2.375000 -0.578125 2.000000 1.373047
4 1.750000 1.875000 2.000000 -0.578125 0.607422 2.000000 -0.351166
5 1.750000 1.812500 1.875000 -0.578125 -0.010498 0.607422 0.006069
6 1.812500 1.843750 1.875000 -0.010498 0.292084 0.607422 -0.003066
7 1.812500 1.828125 1.843750 -0.010498 0.139210 0.292084 -0.001461
8 1.812500 1.820313 1.828125 -0.010498 0.063962 0.139210 -0.000671
9 1.812500 1.816406 1.820313 -0.010498 0.026633 0.063962 -0.000280
10 1.812500 1.814453 1.816406 -0.010498 0.008043 0.026633 -0.000084
11 1.812500 1.813477 1.814453 -0.010498 -0.001234 0.008043 0.000013
12 1.813477 1.813965 1.814453 -0.001234 0.003403 0.008043 -0.000004
13 1.813477 1.813721 1.813965 -0.001234 0.001084 0.003403 -0.000001
lebar int ket
2.000000 lanjut
1.000000 lanjut
0.500000 lanjut
0.250000 lanjut
0.125000 lanjut
0.062500 lanjut
0.031250 lanjut
0.015625 lanjut
0.007813 lanjut
0.003906 lanjut
0.001953 lanjut
0.000977 lanjut
0.000488 stop

You might also like