Sma 430 Numerical Analysis Ii

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

MACHAKOS UNIVERSITY

University Examinations 2016/2017

SCHOOL OF PURE AND APPLIED SCIENCES

DEPARTMENT OF MATHEMATICS AND STATISTICS

FOURTH YEAR SECOND SEMESTER EXAMINATIONS FOR DEGREE IN


BACHELOR OF EDUCATION (SCIENCE)
BACHELOR OF EDUCATION (ARTS)

SMA 430: NUMERICAL ANALYSIS II

DATE: 5/6/2017 TIME: 8:30 – 10:30 AM


INSTRUCTIONS

Attempt question one (compulsory) and any other two questions.

QUESTION ONE (COMPULSORY) (30 MARKS)

a) Solve the system of equations below using the inverse of the coefficients matrix method
(5 marks)
x1 + 2 x 2 − x3 = 2
3 x1 + 6 x 2 + x3 = 1
3 x1 + 3 x 2 + 2 x3 = 3
b) Determine the Eigen values and the corresponding Eigen vectors of the following system.
(5 marks)
10 x1 + 2 x 2 + x3 = λx1
2 x1 + 10 x 2 + x3 = λx 2
2 x1 + x 2 + 10 x3 = λx3
c) Let f ( x ) = ln x and x0 = 1.8 for h > 0 ,evaluate f ′(x ) (5 marks)
d) Consider the initial value problem (I .v. p) given by
y ′ = 2 x + 3 y ; y ( 0) = 1
Use Taylors series second order method to get y (0.4) with step size length h = 0.1
(5 marks)

Examination Irregularity is punishable by expulsion Page 1 of 3


e) Consider the initial value problem (I .v. p) given by
y ′ = 2 x + 3 y ; y ( 0) = 1
Use Taylors series second order method to get y (0.4) with step size length h = 0.1
(5 marks)
f) Using Jacobi’s iteration method, solve the system of equations below, perform two
iterations (5 marks)
10 x + 2 y + z = 9
x + 10 y − z = −22
− 2 x + 3 y + 10z = 22

QUESTION TWO (20 MARKS)

dy
Consider the differential equation = 2e x y , y (0) = 2 . Calculate y (0.2) using Adams predictor
dx
corrector formula by calculating y (0.1) , y (0.2) and y (0.3) using the Euler’s modified formula.
(20 marks)

QUESTION THREE (20 MARKS)


e − x cos xdx
1 2

Consider the approximate value of I = 


−1
obtain the value using.

a) Gauss-Legendre integration method for n = 2 , 3


(10 marks)
b) Radau integration method for n = 2 , 3
(10 marks)
QUESTION FOUR (20 MARKS)
a) Consider the system of equations
 1 − a   x1  b1 
=
− a
 1   x 2  b2 
Where a is a real constant
i. Determine the values of a , for which the Jacobi and Gauss-Seidel methods
converge.
(7 marks)
ii. For a = 0.5 calculate the value of ω which minimizes the spectral radius of the
SOR iteration method. (3 marks)
b) Calculate the largest Eigen –value for the matrix
 10 4 − 1 
4 2 3

− 1 3 1 
Also evaluate the Eigen vector corresponding to the Largest Eigen -value
(10 marks)

Examination Irregularity is punishable by expulsion Page 2 of 3


QUESTION FIVE (20 MARKS)

a) Solve the system of equations below using Doolittle’s method.


(8 marks)
2x + 3y + z = 9
x + 2 y + 3z = 6
3x + y + 2 z = 8
b) Solve the system of equations
2 1 1 − 2   x1  − 10
4 0 2 1   x   8 
  2  =  
3 2 2 0   x3   7 
    
1 3 2 − 1   x 4   − 5 
Using the Gauss- Elimination method with partial pivoting (7 marks)
1
2
x 1
c) Calculate  sin x dx
0
using Romberg integration with step size h =
16
(5 marks)

Examination Irregularity is punishable by expulsion Page 3 of 3

You might also like