

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
numerical analysis final exam,2019
Typology: Exams
1 / 2
This page cannot be seen from the preview
Don't miss anything!


1 Page of 2
Answer only four questions [Total mark 120], [30 for each question]
1- (a) Give the definition of fixed point of a function g , also if g C [ a , b ], g ( x )[ a , b ],and
(c) Use fixed-point iteration to find an approximation to the fixed point that is accurate
to within 2 10
.
2- (a) Construct a natural cubic spline that passes through the points (1, 2), (2, 3), and (3, 5).
(b) Suppose that x 0 1 , x 1 2 , x 2 3 , x 3 4 , x 4 6 ,and x f ( x ) e. Use the Lagrange
interpolating polynomial p 1 , 2 , 4 ( x )to approximate f ( 5 ).
(c) Use the most accurate three point formulas and second derivative midpoint formula to
approximate f '( 2. 0 )and f ''( 2. 0 ) using the data given in the following table; estimate
the actual and the maximum error.
x 1.8 1.9 2.0 2.1 2. x f ( x ) xe^ 10.889365^ 12.703199^ 14.778112^ 17.148957^ 19.
3- (a) Use Newton's iterative method to find the approximate solution forcos( x ) x 0 ,
x x ^ (Only four iterations).
1
0
2 cos( x ) e dx x with n 8.
and estimate the error.
(c) Use Composite Simpson’s rule with n 4 and m 2 to approximate.
0
4
5
0
4- (a) Drive Runge-Kutta method of order two.
(b) Use the Runge-Kutta method of order four with h 0. 2 to obtain approximations to the
2
Al - Azhar University Final Exam Time: 3 Hours Faculty of Science Year 201 8 /201 9 Date: 1/ Mathematics Department Numerical analysis [M 304 ]
2 Page of 2
the approximations by exact values given by
t
2
(c) Show that the equation cos ( ) 2 3 1 0
2 x x x x , has at least one solution in the
interval 1. 2 , 1. 3 .
5- (a) The linear system A x b given by
2 3 4
1 2 3 4
1 2 3 4
1 2 3
x x x
x x x x
x x x x
x x x
has the unique solution T x ( 1 , 2 , 1 , 1 ). Use Gauss-Sidle iterative method to find
approximations ( k ) x to x starting T x ( 0 , 0 ,, 0 , 0 ) ( 0 ) until less than 2 10 .
(b) Find the second Taylor polynomial P 2 ( x )for the function f ( x )cos( x )about x 0 0 to
0
(c) Use the linear finite-difference method to approximate the solution of the following
boundary-value problem
, 1 2 , ( 1 ) 1 , ( 2 ) 2.
2 2 sinln( ) 2 2 (^) x y y x
x y x
y x
y
Use h 0. 1 (only four iterations)
Best Wishes……….
Dr. Khalid K. Ali