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

SMA 2471

W1-2-60-1-6
JOMO KENYATTA UNIVERSITY
OF
AGRICULTURE AND TECHNOLO7GY
University Examinations 2018/2019
FIRST SEMESTER EXAMINATION FOR THE
DEGREE OF BACHELOR OF SCIENCE IN ENGINEERING
SMA 2471: NUMERICAL ANALYSIS I
DATE: APRIL 2019 TIME: 2 HOURS
INSTRUCTIONS: ANSWER QUESTION ONE AND ANY OTHER TWO
QUESTIONS

Question One (30 Marks)

a) Determine a real root of the equation x3 – 6x – 4 = 0 by bisection method. (5 Marks)

b) Using Newton – Raphson method, find a real root for x in the equation

x tan x + 1 = 0. (5 Marks)

c) Given the table below, calculate f (3) using Lagrange’s method: (5 Marks)

x 0 1 2 4 5 6
f (x) 1 14 15 5 6 19

d) The table below shows the temperature f (t) as a function of time (5 Marks)

t 1 2 3 4 5 6 7
f (t) 81 75 80 83 78 70 60

Use Simpson’s 1/3 method to estimate

e) Use Euler’s modified method in steps of 0.2 to solve the differential equation
with initial conditions y = 1 at x = 0 for the range 0 ≤ x ≤ 0.6.
(5 Marks)

1
SMA 2471

f) Find the cubic polynomial which takes the following values y (0) = 1, y (1) = 0,
y (2) = 2 and y (3) = 10. Hence or otherwise obtain y (4). (5 Marks)

Question Two (20 Marks)

a) Find a real root of xex = 2 using Regula falsi method. (4 Marks)

b) The table below shows the values of x and y. Use the relevant formula to compute:

x 1.7 1.8 1.9 2.0 2.1 2.2


y 5.4739 6.0496 6.6850 7.3891 8.1662 9.0250

(i) y (1.75) (4 Marks)

(ii) y (1.91) (4 Marks)

(iii) y (2.11) (4 Marks)

c) From the data of values given below, find the value of f (4). (4 Marks)

x 0 2 3 6
f (x) –4 2 14 158

Question Three (20 Marks)

a) A rod is rotating in a plane. The table below shows the angle θ (in radians) through
which the rod has turned for various values of the time (in seconds):

t 0 0.2 0.4 0.6 0.8 1.0 1.2


θ 0 0.12 0.49 1.12 2.02 3.20 4.67

Calculate:

(i) The angular velocity (7 Marks)

(ii) The angular acceleration (6 Marks)

b) Evaluate using trapezoidal rule if: (7


Marks)

x 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0


y 1.23 1.58 2.03 4.32 6.25 8.38 10.23 12.45

2
SMA 2471

Question Four (20 Marks)

a) The Runge – Kutta’s Forth Order method is given by the formula

y1 = yo + 1/6 (K1 + 2K2 + 2K3 + K4)

Where:

K1 = hf (xo , yo)

K2 = hf (xo + ½ h, yo + ½ K1)

K3 = hf (xo + ½ h, yo + ½ K2)

K4 = hf (xo + h, yo + K3)

Use the above formula to solve the differential equation

for y (2) = 2

Taking h = 0.25 compute y (3.0). (16 Marks)

b) Use Milne’s predictor – corrector method to obtain the solution of the equation
at x = 0.8 given that y (0) = 0, y (0.2) = 0.02, y (0.4) = 0.0795 and
y (0.6) = 0.1762 (4 Marks)

1.

2.

3.

4.

You might also like