UNIVERSITY OF MINES AND TECHNOLOGY, TARKWA
FIRST SEMESTER EXAMINATIONS, DEC 2014
COURSE NO : MR/EL/MC/CE 363
COURSE NAME: NUMERICAL ANALYSIS
CLASS : MR/EL/MC/CE III TIME: 3 HOURS
Name: __________________________________________ Index Number: _______________
SECTION A
Answer all Questions in this section
1. The Newton-Raphson method formula for finding the square root of a real number R from the
equation x 2 R 0 is,
x 3x
(A) xi 1 i (B) xi 1 i
2 2
1 R 1 R
(A) xi 1 xi (D) xi 1 3xi
2 xi 2 xi
2. A computer that represents only 4 significant digits with rounding would calculate
66.666*33.333 as
(A) 2220 (B) 2221 (C) 2221.17778 (D) 2222
3. If A 3.56 0.05 and B 3.25 0.04 , the values of A B are
(A) 6.81 A B 6.90
(B) 6.72 A B 6.90
(C) 6.81 A B 6.81
4. A wooden block is measured to be 60 mm by a ruler and the measurements are considered
to be good to 1/4th of a millimeter. Then in the measurement of 60 mm, we have ________
significant digits.
(A) 0 (B) 1
(C) 2 (D) 3
5. The root of x3 4 is found by using the Newton-Raphson method. The successive
iterative values of the root are given in the table below.
Iteration
Value of Root
Number
0 2.0000
1 1.6667
2 1.5911
3 1.5874
4 1.5874
The iteration number at which I would first trust at least two significant digits in the answer is
(A) 1
(B) 2
(C) 3
(D) 4
Page 1 of 5
6. To solve the ordinary differential equation
3 xy 2 sin x, y0 5
dy
dx
by the Runge-Kutta 2nd order method, you need to rewrite the equation as
sin x xy 2 , y0 5
dy
(A)
dx
sin x xy 2 , y0 5
dy 1
(B)
dx 3
dy 1 xy 3
(C) cos x , y0 5
dx 3 3
sin x, y0 5
dy 1
(D)
dx 3
7. . A square matrix [A]nxn is diagonally dominant if
n
(A) aii aij , i = 1, 2, …, n
j 1
i j
n n
(B) aii aij , i = 1, 2, …, n and aii aij , for any i = 1, 2, …, n
j 1 j 1
i j i j
n n
(C) aii aij , i = 1, 2, …, n and aii aij , for any i = 1, 2, …, n
j 1 j 1
n
(D) aii aij , i = 1, 2, …, n
j 1
8. To ensure that the following system of equations,
2 x1 7 x2 11x3 6
x1 2 x2 x3 5
7 x1 5 x2 2 x3 17
converges using Gauss-Seidel Method, one can rewrite the above equations as follows:
2 7 11 x1 6
(A) 1 2 1 x 5
2
7 5 2 x3 17
7 5 2 x1 17
(B) 1 2 1 x 5
2
2 7 11 x3 6
7 5 2 x1 6
(C) 1 2 1 x 5
2
2 7 11 x3 17
(D) The equations cannot be rewritten in a form to ensure convergence.
Page 2 of 5
9. Given
5 y 2 sin x, y0.3 5
dy
3
dx
and using a step size of h 0.3 , the value of y0.9 using Euler’s method is most nearly
(A) 35.318
(B) 36.458
(C) 658.91
(D) 669.05
10. A unique polynomial of degree ______________ passes through n 1 data points.
(A) n 1
(B) n
(C) n or less
(D) n 1 or less
11. Given the two points a, f a , b, f b , the linear Lagrange polynomial f1 x that passes
through these two points is given by
xb xa
(A) f1 x f a f b
a b a b
(B) f1 x f a f b
x x
ba ba
f b f a
(C) f1 x f a b a
ba
xb xa
(D) f1 x f a f b
a b ba
12. The Lagrange polynomial that passes through the 3 data points is given by
x 15 18 22
y 24 37 25
f 2 x L0 x 24 L1 x 37 L2 x 25
The value of L1 x at x 16 is most nearly
(A) –0.071430
(B) 0.50000
(C) 0.57143
(D) 4.3333
13. The following data of the velocity of a body is given as a function of time.
Time (s) 0 15 18 22 24
Velocity (m/s) 22 24 37 25 123
If you were going to use quadratic interpolation to find the value of the velocity at t 14.9 seconds, what
three data points of time would you choose for interpolation?
(A) 0, 15, 18
(B) 15, 18, 22
(C) 0, 15, 22
(D) 0, 18, 24
Page 3 of 5
14. The partial differential equation
2z 2z
5 2 6 2 xy
x y
is classified as
(A) elliptic (B) parabolic
(C) hyperbolic (D) none of the above
15. A number A is correctly rounded to 3.18 from a given number B . Then A B C ,
where C is
(A) 0.005 (B) 0.01
(C) 0.18 (D) 0.09999
16. Truncation error is caused by approximating
(A) irrational numbers
(B) fractions
(C) rational numbers
(D) exact mathematical procedures
17. Solving an engineering problem requires four steps. In order of sequence, the four steps
are
(A) formulate, solve, interpret, implement
(B) solve, formulate, interpret, implement
(C) formulate, solve, implement, interpret
(D) formulate, implement, solve, interpret
18. The exact integral of
p
4
ò 2 cos 2xdx
0
is most nearly
(A) -1.000 (B) 1.000
(C) 0.000 (D) 2.000
19. The truncation error in calculating f 2 for f x x 2 by
f x h f x
f x
h
with h 0.2 is
(A) -0.2 (B) 0.2
(C) 4.0 (D) 4.2
20. For a certain cubic equation, at least one of the roots is known to be a complex root. How many total
complex roots does the cubic equation have?
(A) one
(B) two
(C) three
(D) cannot be determined
Page 4 of 5
SECTION B
Answer only two (2) Questions in this section.
1. a) Find all roots of the equation x 4 - 5x 3 + 4x 2 - x + 13 = 0 correct to eight
eight decimal places if the graph of the equation is given as
b) i) Explain three (3) sources of errors with example.
ii) The VC ordered the third year students of the Geology department to find area of the
UMaT. They surveyed and calculated the length of the school to be L = 789 ± 3 m
and the breadth as B = 1001 ± 0.98 m. Calculate the propagation bound for the area
of the University.
2. a) Estimate using
i) Linear interpolation for the first two data pairs and
ii) Quadratic interpolation by considering the table below
0.785398
1.107149
1.249046
iii) By using the relative error, what conclusion(s) can you make about the two results?
b) Use the algorithm for Euler’s method to determine approximate value of y (1.2) to the initial-
value problem
y ' = y - t 2 + 1, y (0) = 0.5
Using a step size of h = 0.2 .
3. Determine if the Gauss-Seidel method will converge for the system of equations
3x 2 - x 3 + 8x 4 = 15
2x 1 - x 2 + 10x 3 - x 4 = - 11
- x 1 + 11x 2 - x 3 + 3x 4 = 25
10x 1 - x 2 + 2x 3 = 6
And solve the system correct to a tolerance level of 0.0008.
DANSO-ADDO
Page 5 of 5