You are on page 1of 3

THE UNIVERSITY OF DODOMA

COLLEGE OF NATURAL AND MATHEMATICAL


SCIENCES
DEPARTMENT OF MATHEMATICS AND
STATISTICS

MT 1211 TUTORIAL ONE

Instructions to the candidate:


Practice attempting the given questions.

Question One
x 7 8 9 10
Given
y 3 1 1 9
Using Lagrange’s interpolation formula;
(i) Obtain the 3rd order Lagrange’s polynomial using the data
set,
(ii) Find y(9.5)
Question Two
Using Lagrange’s interpolation form,find the value of y when x =
0.5 given
x 0.4 0.6 0.8
y 0.3683 0.3332 0.2897
Question Three
For what values of C1, C2 and C3, the spline function S(x) defined
as

(
1 + 2x − x3 if 0 ≤ x ≤ 1
S(x) =
2 + C1(x − 1) + C2(x − 1)2 + C3(x − 1)3 if 1 ≤ x ≤ 2
is a natural cubic spline. Question 4
Construct a natural cubic spline for
x 0 1 2
and find the value of f (1.9)
y 1 2 33
Question 5
Evaluate Z 1
1
2
dx
0 1 + x
by trapezoidal rule where the interval of integration
R 1 1 is subdivided
into six equal parts. Exact value of the integral 0 1+x2 is 0.7853981
, then estimate the error in this method.
Question 6 [8]
Evaluate Z 6
1
I= dx
0 1 + x
using
(i) Trapezoidal rule
1
(ii) Simpson’s 3 rule
Question 7
Obtain piecewise linear interpolating polynomial for
x 0.5 1.5 2.3
y 0.125 3.75 15.635

Page 2 of 3
hence evaluate f (2)
Question 8
Write the following numbers as a decimal floating point represen-
tation;
(a) 0.00345
(b) 60.3452
(c) -430.9
Question 9
Write the following numbers in binary floating point representa-
tion;
(a) 0.3125
(b) 49.625
(c) 247
Question 10
Round-off the following numbers into 3 significant figures;
(a) 20914
(b) 93.25007
(c) 0.52567

Page 3 of 3

You might also like