You are on page 1of 6

Solution of Nonlinear Equations

Bisection
Iteration
1
2
3
4
5
6
7
8
9
10

Spherical Tank Problem


a
0.70000
0.70000
0.70000
0.76250
0.79375
0.79375
0.80156
0.80547
0.80742
0.80840

f(a)
0.30539
0.30539
0.30539
0.13150
0.04237
0.04237
0.01989
0.00863
0.00299
0.00017

b
1.20000
0.95000
0.82500
0.82500
0.82500
0.80938
0.80938
0.80938
0.80938
0.80938

f(b)
-1.15961
-0.41773
-0.04796
-0.04796
-0.04796
-0.00266
-0.00266
-0.00266
-0.00266
-0.00266

c
0.95000
0.82500
0.76250
0.79375
0.80938
0.80156
0.80547
0.80742
0.80840
0.80889

f(c)
-0.41773
-0.04796
0.13150
0.04237
-0.00266
0.01989
0.00863
0.00299
0.00017
-0.00125

Inverse Interpolation
Linear Inverse Interpolation
Iteration
1
2
3
4
5
6
7
8
9
10

a
0.70000
0.80423
0.80835
0.80845
0.80846
0.80846
0.80846
0.80846
0.80846
0.80846

f(a)
0.30539
0.01220
0.00030
0.00001
0.00000
0.00000
0.00000
0.00000
0.00000
0.00000

Spherical tank problem


b
1.20000
1.20000
1.20000
1.20000
1.20000
1.20000
1.20000
1.20000
1.20000
1.20000

f(b)
-1.15961
-1.15961
-1.15961
-1.15961
-1.15961
-1.15961
-1.15961
-1.15961
-1.15961
-1.15961

Page 3

c
0.80423
0.80835
0.80845
0.80846
0.80846
0.80846
0.80846
0.80846
0.80846
0.80846

f(c)
0.01220
0.00030
0.00001
1.773E-07
4.292E-09
1.039E-10
2.515E-12
6.040E-14
0.000E+00
0.000E+00

Newton
Newton's Method
Iteration

Spherical tank problem

1
2
3
4
5

a
f(a)
f'(a)
0.80000
0.02439 -2.88000
0.80847
-0.00004 -2.88995
0.80846 -1.239E-10 -2.88993
0.80846 0.000E+00 -2.88993
0.80846 0.000E+00 -2.88993

new a
0.80847
0.80846
0.80846
0.80846
0.80846

1
2
3
4
5

a
f(a)
f'(a)
1.20000
-1.15961 -2.88000
0.79736
0.03200 -2.87681
0.80848 -7.382E-05 -2.88996
0.80846 -3.749E-10 -2.88993
0.80846 0.000E+00 -2.88993

new a
0.79736
0.80848
0.80846
0.80846
0.80846

Iteration

Page 4

Substitution
Direct Substitution
Iteration
1
2
3
4
5
6
7
8
9
10

0.80000
0.80507
0.80709
0.80790
0.80823
0.80837
0.80842
0.80844
0.80845
0.80845

Form 1

0.80507
0.80709
0.80790
0.80823
0.80837
0.80842
0.80844
0.80845
0.80845
0.80845

Spherical tank problem

1.20000
1.02638
0.91536
0.85622
0.82868
0.81679
0.81185
0.80983
0.80901
0.80868

1.02638
0.91536
0.85622
0.82868
0.81679
0.81185
0.80983
0.80901
0.80868
0.80855

0.81000
0.81226
1.14518
1.51203
1.85482
2.14315
2.36939
2.53884
2.66181
2.74918

0.81226
1.14518
1.51203
1.85482
2.14315
2.36939
2.53884
2.66181
2.74918
2.81036

Form 2
Iteration
1
2
3
4
5
6
7
8
9
10

0.80000
0.78709
0.75251
0.64346
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!

0.78709
0.75251
0.64346
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!

Page 5

Wegstein
Wegstein Accelerator Method
Iteration
1
2
3
4
5
6
7
8
9
10

0.80000
0.80507
0.80844
0.80846
0.80846
0.80846
0.80846
0.80846
0.80846
0.80846

Form 1

0.80507
0.80709
0.80845
0.80846
0.80846
0.80846
0.80846
0.80846
0.80846
0.80846

Spherical tank problem

1.2
1.02638
0.71843
0.82273
0.80927
0.80845
0.80846
0.80846
0.80846
0.80846

1.02638
0.91536
0.77529
0.81431
0.80879
0.80845
0.80846
0.80846
0.80846
0.80846

0.9
0.999201
0.74146
0.86152
0.82374
0.80526
0.80865
0.80846
0.80846
0.80846

0.99920
1.16048
0.60084
0.92609
0.84495
0.80048
0.80895
0.80846
0.80846
0.80846

Form 2
Iteration
1
0.8
2 0.787087
3 0.80770
4 0.80839
5 0.80846
6 0.80846
7 0.80846
8 0.80846
9 0.80846
10 0.80846

0.78709
0.75251
0.80657
0.80829
0.80846
0.80846
0.80846
0.80846
0.80846
0.80846

Page 6

You might also like