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

Suatu fungsi g(x) = 1-x^2/1+x^2 dengan nilai awal x0 = 1,5, error = 0,001 dengan metode Newton Raphson.

Metode Newton Rapshon


iterasi xn g(xn) g'(xn) xn+1
0 1.50000000 -0.38461538 -0.56804734 0.82291667
1 0.82291667 0.19246943 -1.17017379 0.98739602
2 0.98739602 0.01268340 -1.01260194 0.99992158
3 0.99992158 0.00007843 -1.00007842 1.00000000

Suatu fungsi g(x) = 1-x^2/1+x^2 dengan a = 0 dan b = 4, error = 0,001 dengan metode Secant

Metode Secant
iterasi xn-1 xn xn+1 f(xn-1)
1 4.00000000 0.00000000 2.12500000 -0.88235294
2 0.00000000 2.12500000 1.29779412 1.00000000
3 2.12500000 1.29779412 0.74646467 -0.63739377
4 1.29779412 0.74646467 1.03717372 -0.25491835
5 0.74646467 1.03717372 1.00411589 0.28434869
6 1.03717372 1.00411589 0.99992195 -0.03648324
7 1.00411589 0.99992195 1.00000016 -0.00410742
e Newton Raphson.

Galat xn
0.82278481
0.16657891
0.01252654
0.00007842

ecant

f(xn) f(xn+1)
1.00000000 -0.637393767705382
-0.63739377 -0.254918350596446
-0.25491835 0.284348694772119
0.28434869 -0.036483235920427
-0.03648324 -0.004107420726661
-0.00410742 7.805767829325E-05
0.00007806 -1.609557873264E-07

You might also like