Вы находитесь на странице: 1из 6

1.

f(x)=cos(x)-x
f'(x)=-sin(x)-1
x0 0

iterasi xn f(x) f'(x) error


0 0 1 -1
1 1 -0.45969769413186 -1.8414709848079 1
2 0.75036386784 -0.01892307382212 -1.68190495294149 0.332686770857289
3 0.739112890911 -4.6455898991E-05 -1.6736325442243 0.015222271275785
4 0.739085133385 -2.8472058045E-10 -1.67361202930895 3.755660183625E-05
5 0.739085133215 0 -1.67361202918321 2.3018100648816E-10
6 0.739085133215 0 -1.67361202918321 0
7 0.739085133215 0 -1.67361202918321 0
8 0.739085133215 0 -1.67361202918321 0
9 0.739085133215 0 -1.67361202918321 0
10 0.739085133215 0 -1.67361202918321 0
11 0.739085133215 0 -1.67361202918321 0
12 0.739085133215 0 -1.67361202918321 0
13 0.739085133215 0 -1.67361202918321 0
14 0.739085133215 0 -1.67361202918321 0
15 0.739085133215 0 -1.67361202918321 0
2. F(x)=4x^3-15x^2+17x-6
f'(x)=12x^2-30x+17
x0 0

iterasi xn f(x) f'(x) error


0 0 -6 17
1 0.352941176470588 -1.69265214736414 7.90657439446367 1
2 0.567022782854936 -0.454110286835698 3.84749454967059 0.377553800054481
3 0.685050315051071 -0.107593826637004 2.08001775828673 0.172290311533301
4 0.736777674689398 -0.01758613258851 1.41076586236665 0.070207555705503
5 0.749243338239697 -0.000949264155362 1.25908681156787 0.016637670185478
6 0.749997268903286 -3.413915647066E-06 1.25003277325007 0.001005244545346
7 0.749999999964199 -4.475175785501E-11 1.25000000042961 3.641414550955E-06
8 0.750000000000001 0 1.24999999999999 4.773514916678E-11
3. f(x) = x^3+x^2-3x-3

x0= 1
x1= 2

n xn-1 xn f(xn-1)
1 1 2 -4
2 2 1.57142857142857 3
3 1.57142857142857 1.70541082164329 -1.36443148688047
4 1.70541082164329 1.73513577066074 -0.2477450996386
5 1.73513577066074 1.7319963707827 0.029255402305658
6 1.7319963707827 1.73205069778558 -0.0005151769147
7 1.73205069778558 1.73205080757279 -1.03900017301E-06
8 1.73205080757279 1.73205080756888 3.70299346741E-11
f(xn) xn+1 error kesimpulan
3 1.571428571429 0.272727272727 lanjutkan
-1.36443148688 1.705410821643 0.078563035085 lanjutkan
-0.247745099639 1.735135770661 0.017131194873 lanjutkan
0.0292554023057 1.731996370783 0.001812590333 lanjutkan
-0.000515176915 1.732050697786 3.136571173E-05 lanjutkan
-1.039000173E-06 1.732050807573 6.338567319E-08 lanjutkan
3.702993467E-11 1.732050807569 2.258968366E-12 lanjutkan
0 1.732050807569 0 selesai
4. f(x)= x^2-(x+1)e^-x

x0= 0.8
x1= 0.9

n xn-1 xn f(xn-1) f(xn)


1 0.8 0.9 -0.1687921354 0.03751764649286
2 0.9 0.8818148969251 0.03751764649 -0.0015318263676
3 0.881814896925079 0.8825282591896 -0.0015318264 -1.2750599891E-05
4 0.882528259189585 0.8825342469073 -1.27506E-05 4.4121708509E-09
5 0.882534246907253 0.882534244836 4.4121712E-09 -1.2767564783E-14
6 0.882534244836002 0.882534244836 -1.276756E-14 0
xn+1 error kesimpulan
0.8818148969 0.02062235865864 lanjutkan
0.8825282592 0.00080831662565 lanjutkan
0.8825342469 6.7846859067E-06 lanjutkan
0.8825342448 2.3469357509E-09 lanjutkan
0.8825342448 6.7931690674E-15 lanjutkan
0.8825342448 0 selesai