Finding Roots Using Numerical Method

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 8

f(x) = ex- x - 2 = 0 Metode Tabulasi

Akar 1 Iterasi 1
No. x f(x) Error
1 1 -0.28172 -0.28172
2 2 3.389056 3.389056

x3 0.1

x1 1
x2 -2

f(x1) -0.2817
f(x2) 3.38906

Memenuhi syarat f(x1) f(x2) < 0

Iterasi 1
Akar 2 No. x f(x) Error
1 -1 -0.63212 -0.63212
2 -2 0.135335 0.135335

x3 -0.1

x1 -1
x2 -2

f(x1) -0.6321
f(x2) 0.13534

Memenuhi syarat f(x1) f(x2) < 0


Iterasi 2 Iterasi 3
No. x f(x) Error No. x f(x)
1 1 -0.28172 -0.28172 1 1.1 -0.09583
2 1.1 -0.09583 -0.09583 2 1.11 -0.07564
3 1.2 0.120117 0.120117 3 1.12 -0.05515
4 1.3 0.369297 0.369297 4 1.13 -0.03434
5 1.4 0.6552 0.6552 5 1.14 -0.01323
6 1.5 0.981689 0.981689 6 1.15 0.008193
7 1.6 1.353032 1.353032 7 1.16 0.029933
8 1.7 1.773947 1.773947 8 1.17 0.051993
9 1.8 2.249647 2.249647 9 1.18 0.074374
10 1.9 2.785894 2.785894 10 1.19 0.097081
11 2 3.389056 3.389056 11 1.2 0.120117

x3 0.01 x3 0.001

Iterasi 2 Iterasi 3
No. x f(x) Error No. x f(x)
1 -1 -0.63212 -0.63212 1 -1.8 -0.0347
2 -1.1 -0.56713 -0.56713 2 -1.81 -0.02635
3 -1.2 -0.49881 -0.49881 3 -1.82 -0.01797
4 -1.3 -0.42747 -0.42747 4 -1.83 -0.00959
5 -1.4 -0.3534 -0.3534 5 -1.84 -0.00118
6 -1.5 -0.27687 -0.27687 6 -1.85 0.007237
7 -1.6 -0.1981 -0.1981 7 -1.86 0.015673
8 -1.7 -0.11732 -0.11732 8 -1.87 0.024124
9 -1.8 -0.0347 -0.0347 9 -1.88 0.03259
10 -1.9 0.049569 0.049569 10 -1.89 0.041072
11 -2 0.135335 0.135335 11 -1.9 0.049569

x3 -0.01 x3 -0.001
asi 3 Iterasi 4
Error No. x f(x) Error
-0.09583 1 1.14 -0.01323 -0.01323
-0.07564 2 1.141 -0.0111 -0.0111
-0.05515 3 1.142 -0.00897 -0.00897
-0.03434 4 1.143 -0.00684 -0.00684
-0.01323 5 1.144 -0.0047 -0.0047
0.008193 6 1.145 -0.00256 -0.00256
0.029933 7 1.146 -0.00041 -0.00041
0.051993 8 1.147 0.001733 0.001733
0.074374 9 1.148 0.003883 0.003883
0.097081 10 1.149 0.006036 0.006036
0.120117 11 1.15 0.008193 0.008193

0.001

Jadi salah satu akar dari f(x) adalah 1.146

asi 3 Iterasi 4
Error No. x f(x) Error
-0.0347 1 -1.84 -0.00118 -0.00118
-0.02635 2 -1.841 -0.00034 -0.00034
-0.01797 3 -1.842 0.0005 0.0005
-0.00959 4 -1.843 0.001342 0.001342
-0.00118 5 -1.844 0.002183 0.002183
0.007237 6 -1.845 0.003025 0.003025
0.015673 7 -1.846 0.003867 0.003867
0.024124 8 -1.847 0.00471 0.00471
0.03259 9 -1.848 0.005552 0.005552
0.041072 10 -1.849 0.006394 0.006394
0.049569 11 -1.85 0.007237 0.007237

-0.001
Jadi salah satu akar dari f(x) adalah -1.841
f(x) = 2- 3x+ sin(x) = 0 Metode Biseksi

Iterasi 1
x1 1 No. x f(x)
x2 2 1 0.9 0.08332691
2 0.95 -0.0365845
f(x1) -0.28172 3 0.925 0.02362076
f(x2) 3.389056 4 0.9375 -0.0064189
5 0.93125 0.00861661
Memenuhi syarat f(x1) f(x2) < 0 6 0.934375 0.00110278
7 0.9328125 0.00486068
8 0.9335938 0.00298198
9 0.9332031 0.00392139
10 0.9333984 0.0034517
11 0.9333008 0.00368655
12 0.9333496 0.00356912
13 0.9333252 0.00362783
14 0.9333374 0.00359848
15 0.9333313 0.00361316
16 0.9333344 0.00360582
17 0.9333328 0.00360949
18 0.9333336 0.00360765
19 0.9333332 0.00360857

Jadi akar dari f(x) adalah = 0.934375


Biseksi

asi 1
Error
0.083327
-0.03658
0.023621
-0.00642
0.008617
0.001103
0.004861
0.002982
0.003921
0.003452
0.003687
0.003569
0.003628
0.003598
0.003613
0.003606
0.003609
0.003608
0.003609

dalah = 0.934375
f(x)=x2+x ln(x) - 0.15 METODE REGULA FALSI

x1 1 Iterasi 1
x2 1.5 No. x f(x) Error
1 1 0.85 0.85
f(x1) -0.15853 2 1.5 2.708198 2.708198
f(x2) 0.981689 3 0.771284 0.244577 0.244577
4 0.69894 0.088164 0.088164
Memenuhi syarat f(x1) f(x2) < 0 5 0.658163 0.007867 0.007867
6 0.654168 0.000312 0.000312
7 0.654003 1.21E-06 1.21E-06
8 0.654002 1.88E-10 1.88E-10
9 0.654002 0 0

Maka akar dari f(x) adalah 0.654


EGULA FALSI

You might also like