Numerical Analysis Final Exam: Exercises and Questions, Exams of Mathematical Methods for Numerical Analysis and Optimization

numerical analysis final exam,2019

Typology: Exams

2019/2020

Uploaded on 05/26/2020

ahmed-mohamed-32
ahmed-mohamed-32 🇪🇬

1 document

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Page of 2 1
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
],,[)(],,[ baxgbaCg
and
for all
],,[ bax
show that
g
has at least one fixed point in
ba,
.
(b) Show that
2
sin5.0)( x
xg
has a unique fixed point on
2,0
.
(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
,6,4,3,2,1 43210 xxxxx
and
. Use the Lagrange
interpolating polynomial
)(
4,2,1 xp
to approximate
)5(f
.
(c) Use the most accurate three point formulas and second derivative midpoint formula to
approximate
)0.2('f
and
)0.2(''f
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.2
x
xexf )(
10.889365
12.703199
14.778112
17.148957
19.855030
3- (a) Use Newton's iterative method to find the approximate solution for
,0)cos( xx
4
],2,0[ 0
xx
(Only four iterations).
(b) Use a formula of higher order accuracy to approximate
1
0
2)cos( dxex x
with
8n
.
and estimate the error.
(c) Use Composite Simpson’s rule with
4n
and
2m
to approximate.
.)2(
0.2
4.1
5.1
0.1
dxdyyxnl
4- (a) Drive Runge-Kutta method of order two.
(b) Use the Runge-Kutta method of order four with
2.0h
to obtain approximations to the
solution of the initial-value problem
,20,1
2
ttyy
,5.0)0( y
and compare
Al - Azhar University
Final Exam
Time: 3 Hours
Faculty of Science
Year 2018/2019
Date: 1/2019
Mathematics Department
Numerical analysis [M 304]
pf2

Partial preview of the text

Download Numerical Analysis Final Exam: Exercises and Questions and more Exams Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

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 gC [ a , b ], g ( x )[ a , b ],and

for all x [ a , b ],show that g has at least one fixed point in  a , b .

(b) Show that  

g ( x ) 0. 5 sin x has a unique fixed point on  0 , 2 .

(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 ,

[ 0 , 2 ], 0

x   x ^ (Only four iterations).

(b) Use a formula of higher order accuracy to approximate

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.

  1. 0

  2. 4

  3. 5

  4. 0

  lnx ^ y dydx

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

solution of the initial-value problem 1 , 0 2 ,

2

y   y  t   t  y ( 0 ) 0. 5 ,and compare

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

y ( t ) ( 1 t ) 0. 5 e

2

   (Only two iterations).

(c) Show that the equation cos ( ) 2 3 1 0

2 x xxx   , has at least one solution in the

interval  1. 2 , 1. 3 .

5- (a) The linear system A xb 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

approximate  f x dx

  1. 1

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