You are on page 1of 2

persamaan x^6=x^4+x^3+1

newton rapson
pers = x^6-x^4-x^3-1
f'(xn) = 6x^5-4x^3-3x^2
ite

Xn
1
2

f(Xn)
F'(Xn)
hn
X(n+1)
(Xn+1-Xn)/Xn
1.5 1.953125 25.3125 0.07716 1.42284 -0.051440329
1.42284 0.318288 17.39353 0.018299 1.40454 -0.012861059
1.40454 0.014781 15.79477 0.000936 1.403604 -0.000666269
1.403604
3.7E-05 15.71568 2.36E-06 1.403602
-1.6785E-06

persamaan =13x^2-2x^3+22x-3
f'(xn)=
26x-6x^2+22

newton rapson
ite

Xn
1
0.75
2 0.22623
3 0.131243
4 0.127025

f(Xn)
19.96875
2.61923
0.106758
0.000217

F'(Xn)

x2

x3

38.125
27.57488847
25.30898087
25.20584477

hn
0.52377
0.094986
0.004218
8.63E-06

X(n+1)
0.22623
0.131243
0.127025
0.127017

(Xn+1-Xn)/Xn
-0.698360656
-0.419865867
-0.032140107
-6.79148E-05

BISECTION
ite

x1
1

0.12

0.15

0.135

2
3
4
5
6
7
8
9
10
11

0.12
0.12
0.12375
0.125625
0.126563
0.126563
0.126797
0.126914
0.126973
0.127002

0.135
0.1275
0.1275
0.1275
0.1275
0.127031
0.127031
0.127031
0.127031
0.127031

0.1275
0.12375
0.125625
0.1265625
0.12703125
0.126796875
0.126914063
0.126972656
0.127001953
0.127016602

f(x1)
f(x2)
f(x3)
1/2ABS(X1-X2)
-0.17626 0.58575
0.20200425
0.015
-0.17626
-0.17626
-0.08221
-0.03505
-0.01144
-0.01144
-0.00554
-0.00259
-0.00111
-0.00037

0.202004
0.012186
0.012186
0.012186
0.012186
0.000368
0.000368
0.000368
0.000368
0.000368

0.012185906
-0.082207418
-0.035053809
-0.01144471
0.000367909
-0.005539073
-0.00258575
-0.001108962
-0.000370537
-1.31649E-06

0.0075
0.00375
0.001875
0.0009375
0.00046875
0.000234375
0.000117188
5.85938E-05
2.92969E-05
1.46484E-05

Interpolasi linier
ite

x1
x2
1
0.12
2 0.126939

x3
f(x1)
f(x2)
f(x3)
abs f(x3)
0.15 0.126939158 -0.17626 0.58575 -0.001953258 0.001953258
0.15 0.127015802 -0.00195 0.58575 -2.14775E-05
2.14775E-05

SECANT
ite

x1

x2

x3
f(x1)
f(x2)
f(x3)
abs f(x3)
0.12
0.15 0.126939158 -0.17626 0.58575 -0.001953258 0.001953258
0.15 0.126939 0.127015802 0.58575 -0.00195 -2.14775E-05
2.14775E-05

You might also like