


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
This is the Exam of Introduction to Numerical Analysis and its key important points are: Linear Interpolating, Piecewise, Quadratic Interpolating Polynomial, Trapezoidal Rule, Romberg Integration, Iteration Scheme, Determining, Approximation, Bisection Method, Equation
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
i 0 1 2 xi 1 2 3 f (xi) 2 1 4
(a) find the piecewise linear interpolating function; [5 marks] (b) find the quadratic interpolating polynomial. [5 marks]
0
dx 1 + x with step sizes of h = 0.25 and h = 0.125. [6 marks]
(b) What is the error in each case? [4 marks] (c) Use one step of Romberg Integration to improve your answer. [3 marks]
Show that this is a second order method for determining x∗^ =
Starting with x 0 = 3, use this method to give an approximation to
10 that is correct to four decimal places. [5 marks]
(a) Show that the function f (x) = exp(−x) − x, has a root in the interval [0, 1]. [3 marks] (b) Describe the bisection method for determining a root of the equation f (x) = 0. [3 marks] (c) Use the bisection method to find this root to an accuracy of 2 decimal places. [8 marks]
Consider the following initial value problem:
y′^ = 1 + x sin(xy), 0 ≤ x ≤ 2 , y(0) = 0.
(a) Write down the difference equation given by Euler’s method with h = 0.5. [3 marks] (b) Use Euler’s method to estimate the value of the solution at x = 2. [4 marks] (c) Prove that the initial value problem has a unique solution for 0 ≤ x ≤ 2. [4 marks]
0
f (x) cos xdx = w 0 f (0) + w 1 f
(π
2
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]
Determine which of the two iterative methods
(a)
xr+1 =
x^2 r +
xr
(b) xr+1 = 3 −
x^2 r
is suitable to compute a root of the equation
x^3 − 3 x^2 + 2 = 0
in the interval [2, 3]. [6 marks]
Using this method and a suitable starting point, compute the root to 3 decimal places. [5 marks]
yn+1 = yn +
h 4
(k 1 + 3k 2 ) ,
where k 1 = f (xn, yn) ,
k 2 = f
xn +
h, yn +
hk 1
for solving the differential equation
y′^ = f (x, t).
(a) By considering its local truncation error, show that the method is at least of order 2. [8 marks]
(b) Investigate the stability of this method when used to solve y′^ = −λy(λ > 0). [6 marks]