You are on page 1of 2

For x0=-4:

Iteration no. Pn-1 f'(Pn-1) Pn


f(Pn)

1 -4.0000000 -1068.0000000 -3.5655432


107.4065247
2 -3.5655432 -602.6472168 -3.3873186
13.1399536
3 -3.3873186 -459.4647217 -3.3587203
0.2963409
4 -3.3587203 -438.8312988 -3.3580451
0.0003662
5 -3.3580451 -438.3518066 -3.3580441 -
0.0000458
6 -3.3580441 -438.3509521 -3.3580441 -
0.0000458

The root is: -3.35804415


For x0=1:
Iteration no. Pn-1 f'(Pn-1) Pn
f(Pn)

1 1.0000000 722.0000000 0.8628809


9.3718414
2 0.8628809 588.0789185 0.8469445
0.1158142
3 0.8469445 573.5811768 0.8467426
0.0000000
4 0.8467426 573.3988647 0.8467426
0.0000000

The root is: 0.84674257


For x0=-2:
Iteration no. Pn-1 f'(Pn-1) Pn
f(Pn)

1 -2.0000000 -16.0000000 -14.7500000


508170.3750000
2 -14.7500000 -152557.0000000 -11.4189806
160634.3125000
3 -11.4189806 -64424.6640625 -8.9256134
50722.4179688
4 -8.9256134 -27239.0429688 -7.0634913
15972.1904297
5 -7.0634913 -11553.2236328 -5.6810036
4990.7612305
6 -5.6810036 -4944.5209961 -4.6716518
1523.7462158
7 -4.6716518 -2173.1254883 -3.9704745
433.0195312
8 -3.9704745 -1030.7041016 -3.5503545
98.3533630
9 -3.5503545 -589.4340820 -3.3834939
11.3877869
10 -3.3834939 -456.6688232 -3.3585572
0.2245026
11 -3.3585572 -438.7155762 -3.3580456
0.0004578
12 -3.3580456 -438.3521729 -3.3580446
0.0001526
13 -3.3580446 -438.3513184 -3.3580444 -
0.0000763

The root is: -3.35804439

You might also like