


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The may/june 2008 exam for the introduction to numerical analysis course offered by the university of wales - aberystwyth, institute of mathematics and physics. The exam covers topics such as lagrange's formula, interpolating polynomials, divided differences, trapezoidal rule, root finding, and initial value problems. Students are required to answer questions related to finding interpolating polynomials, approximating integrals, and determining roots.
Typology: Exams
1 / 4
This page cannot be seen from the preview
Don't miss anything!



MA25110 - Introduction to Numerical Analysis
Time allowed - 2 hours
Section A
(a) find the piecewise linear interpolating function; [3 marks]
(b) find the quadratic interpolating polynomial. [3 marks]
x 0. 0 0. 2 0. 3 0. 4 0. 7 1. 0 f (x) 1. 00 0. 8432 0. 8062 0. 8112 1. 2702 3. 00
What is the lowest degree of polynomial which matches the data exactly? [7 marks] (b) Determine the interpolating polynomial using Newton’s formula:
pn(x) = f [x 0 ] +
∑^ n
k=
f [x 0 , ..., xk]
k∏− 1
j=
(x − xj ).
[5 marks]
(a) Derive the composite Trapezoidal rule TN for approximating the integral ∫ (^) b
a
f (x) dx.
[6 marks] (b) Use this rule to approximate the value of the integral ∫ (^) π/ 4
0
sin(2x) dx
with N = 2 and N = 4. [6 marks]
Section B
0
ex^ f (x) dx = w 0 f (0) + w 1 f (1) + w 2 f (2) + E,
where E is zero for any quadratic polynomial f. [12 marks]
xr+1 = g(xr), r = 0, 1 , 2 , ...
with x 0 ∈ [a, b] to converge to a unique root x∗^ ∈ [a, b] of the equation x = g(x). [3 marks] (b) (i) Determine which of the two iterative methods
(I) xr+1 = x
(^2) r − 7 2 (II) xr+1 =
2 xr + 7
is suitable to compute a root of the equation
x^2 − 2 x − 7 = 0
in the interval [3, 4]. [6 marks] (ii) Using this method and a suitable starting point, compute the root to 3 decimal places. [6 marks]
y′^ = 2y + 1, 0 ≤ x ≤ 0. 5 , y(0) = 0. 25.
[3 marks] (b) Solve the difference equation to show that yn, the numerical approximation to y(x) at x = nh, is given by
yn = (1 + 2h)n
y 0 +
[8 marks] (c) Use the formula to obtain estimates to y(0.5) with the step sizes h = 0.1 and h = 0.05. [2 marks]