You are on page 1of 1

FINAL EXAM OF NUMERICAL ANALYSIS

2-JANUARY-2013 (3 HOURS)

Question 1: [20 Points]

a: Use the Fixed- point method with (7) iteration steps


and (5) decimal places to approximate the root x of:
x − sin x = 0, x0 = 0.1
b: Solve the following system taken: X0 = [0, 0, 0]T :
10x1 −x2 −3x3 = 1, x1 +10x2 −2x3 = 0, 3x1 +2x2 +10x3 = −2.
Using (1) Jacobian method. (2) LU decomposition method.
Question 2: [25 Points]
b: Write the General formula of Lagrange interpolation
method for x0 , x1 , x2 , x3 .
a: Given the data in the following table:
x 0 0.5 1 1.5 2
f (x) 6 10 12 9 4
(1) Construct the table of divided difference Newton.
(2) Use Newton forward interpolation method to ap-
proximate f (0.2), f (1.2) and use it to approximate
0
f (x) for each x.
Question 3: [25 Points]
Z x
dx
a: Let: ln x = · Use the Trapezoidal rule to approximate
1 x
(ln 2), taken (h = 0.2) and find the absolute error.
1
b: Prove that the simple Simpson’s rule written as:
3
Z x2
h
f (x)dx = [f0 + 4f1 + f2 ].
x0 3
Z π
1 4 x
c: Use the ( ) complex Simpson’s rule to estimate dx
3 0 cos x
and find the maximum error |Emax |, minimum error |Emin |.

Dr. Yaser Alhuri

You might also like