Numerical Analysis
DR. Ahmed Amir Bayoumy
Prepared By: Ahmed Shaban Mahmoud
Assignment NO.4
24-OCT-2010
1-Solve the below equation to get (range 24 to 32) value at = 35 by
fixed point iteration
f ( ) = R1 cos - R2 cos + R3 - cos ( - )
Where R1 = 5/3 , R2 = 5/2 & R3 = 11/6
2- Check on value of g ( )
3- Comment on the rate of convergence.
Solution
See attached excel sheet for detailed calculation of
below equations and values.
= cos-1 ( 1 / R2 [ R1 cos + R3 - cos ( - ) ] )
28
u ( i )
i+1
f ( i+1 )
f(+)
g' ( i )
error %
0.882416 28.064780
-0.00132839
28.06478 0.103615
0.231355900
28.064780 0.882361 28.071460
-0.00013715
28.07146 0.102638
0.023803905
28.071460 0.882356 28.072146
-0.00001407
28.07215 0.102538
0.002441417
28.072146 0.882355 28.072216
-0.00000144
28.07222 0.102527
0.000250319
28.072216 0.882355 28.072223
-0.00000015
28.07222 0.102526
0.000025664
28.072223 0.882355 28.072224
-0.00000002
28.07222 0.102526
0.000002631
28.072224 0.882355 28.072224
0.00000000
28.07222 0.102526
0.000000270
28.072224 0.882355 28.072224
0.00000000
28.07222 0.102526
0.000000028
So, = 28.072224
2- g ( ) = 0.103615
g ( ) = 0.102526
at = 28
(First iteration )
at = 28.072224 (First iteration )
Page 1 of 2
Numerical Analysis
DR. Ahmed Amir Bayoumy
Prepared By: Ahmed Shaban Mahmoud
Assignment NO.4
24-OCT-2010
3- Error for first iteration 0.231
For 2nd iteration 0.0238
For 3rd iteration 0.00244
.
.
.
.
.
.
For 8th iteration 0.000000028
Error percentage is reduced by about the one tenth after each
iteration which is too fast than Bisection method
Page 2 of 2