You are on page 1of 5

kerjakan dengan metode

a. Metode Biseksi, error 0,005


b. Metode Regula Falsi, error 0,005
c. Newton Raphson, error 0,003
d. Secant, error 0,003

1. Persamaan non inier


y= x^3-7x+1 40
35
Bisection
30
x f(x)
25
-2 7
20
-1 7
0 1 15

1 -5 10
2 -5 5
3 7 0
-3 -2 -1
4 37 -5
-10

Metode Biseksi, error 0,005

Nomor x1 x2 x3 f(x1) f(x2) f(x3) f(x1)*f(x3)


1 2 3 2.5 -5 7 -0.875 4.375
2 2.5 3 2.75 -0.875 7 2.546875 -2.22852
3 2.5 2.75 2.625 -0.875 2.546875 0.712891 -0.62378
4 2.5 2.625 2.5625 -0.875 0.712891 -0.11108 0.097198
5 2.5625 2.625 2.59375 -0.1110839844 0.712891 0.293304 -0.03258
6 2.5625 2.59375 2.578125 -0.1110839844 0.293304 0.089222 -0.00991
7 2.5625 2.578125 2.5703125 -0.1110839844 0.089222 -0.0114 0.001267
8 2.5703125 2.578125 2.57421875 -0.0114016533 0.089222 0.038792 -0.00044
9 2.5703125 2.57421875 2.572265625 -0.0114016533 0.038792 0.013666 -0.00016
10 2.5703125 2.572265625 2.5712890625 -0.0114016533 0.013666 0.001125 -1.28E-05
11 2.5703125 2.5712890625 2.5708007813 -0.0114016533 0.001125 -0.00514 5.86E-05

NEWTON RAPHSON
Iterasi, i xi f(xi) f'(xi) Galat x
0 2 -5 5 -2
1 3 7 20 0.3333333333 -1
2 2.65 1.059625 14.0675 0.1320754717 0
3 2.5746757 0.044678977 12.8868644305 0.0292558515 1
3 2.5712087 9.280272E-05 12.8333418265 1.348400E-03 2
3
SECANT
Iterasi, i xi f(xi) Galat
0 2 -5
1 3 7
2 2.4166667 -3.43599537 0.2413793103
3 2.608726 0.4924762708 0.0736218988
4 2.5846493 0.2680620097 0.0093152721
5 2.5558898 -0.194693058 0.0112522629
6 2.5679897 17.934789888 0.0047118125
7 2.5560197 17.699082045 0.0046830409
8 1.6572077 5.5512516349 0.542365315
f(x)
40
35
30
25
20
15
10
5
0
-2 -1 0 1 2 3 4 5
-5
-10

METODE REGULA FALSI

Galat Nomor x1 x2 x3 f(x1) f(x2)


1 2 3 2.416667 -5 7
0.090909 2 2.416667 3 2.536125 -1.80266 7
0.047619 3 2.536125 3 2.563599 -0.44069 7
0.02439 4 2.563599 3 2.569571 -0.09711 7
0.012048 5 2.569571 3 2.570852 -0.0209 7
0.006061 6 2.570852 3 2.571127 -0.00448 7
0.00304 7 2.571127 3 2.571185 -0.00096 7
0.001517
0.000759
0.00038
0.00019

f(x)
8
f(x)
6
7
7 4
1
2
-5
-5 0
7 -3 -2 -1 0 1 2 3 4
-2

-4

-6
2

0
-3 -2 -1 0 1 2 3 4
-2

-4

-6
f(x3) f(x1)*f(x3)Galat
-1.80266 9.01331
-0.44069 0.794423 0.047103
-0.09711 0.042797 0.010717
-0.0209 0.00203 0.002324
-0.00448 9.36E-05 0.000499
-0.00096 4.29E-06 0.000107
-0.0002 1.96E-07 2.28E-05

You might also like