OLLSCOIL NA hÉIREANN, GAILLIMH
THE NATIONAL UNIVERSITY OF IRELAND, GALWAY
SUMMER EXAMINATIONS 2000
SECOND ARTS, ENGINEERING, AND SCIENCE
NUMERICAL ANALYSIS MM246
Dr D. L. Flannery
Professor J. Wiegold
Time allowed: two hours.
Answer only three questions.
- 1.
- (a)
- Calculate
to five decimal
places using
- (i)
- the Trapezoid Rule,
- (ii)
- Simpson's Rule,
with five equally spaced points.
Also calculate the integral exactly and compare the
estimated error with the actual error, in both methods.
- (b)
- Find the number of equally spaced points required in each
method to ensure an absolute error of less than
.
- 2.
- (a)
- Describe the partial pivoting
technique used for solving systems of linear equations
by Gaussian elimination. Why is partial pivoting used?
- (b)
- Consider the following system of linear equations:
- (i)
- Write down the Jacobi and Gauss-Seidel iterative schemes
for this system.
- (ii)
- Determine, with justification, whether
each of these schemes converges, for the given system.
- (iii)
- Working to four decimal places,
carry out three iterations of the Gauss-Seidel scheme to estimate the
solution
of the system. Take
.
p.t.o.
- 3.
- (a)
- (i)
- Let
be a symmetric real
matrix.
Prove that the power method for estimating the
dominant eigenvalue and eigenvector of
is convergent,
for a suitable choice of initial vector.
(Use the fact that there is a
basis of
consisting of
eigenvectors of
.)
- (ii)
- Carry out three
iterations of the power method, with initial vector
, to evaluate the dominant eigenvalue
of
to four decimal places. Also estimate an eigenvector
for this eigenvalue.
- (b)
- Briefly describe Jacobi's method for
finding all eigenvalues and eigenvectors
of a square symmetric matrix.
- 4.
- (a)
- With specific reference to Taylor's Theorem,
explain what is meant by the order and
local truncation error of a
single-step method for solving a
first order initial value problem.
- (b)
- Consider the following initial value
problem:
By writing out sufficiently many terms of the Taylor
series expansion of
at
, show that the
improved Euler method for this problem
is
.
- (c)
- Use a 4-stage Runge-Kutta method to estimate
and
, for the initial value problem in (b).
- 5.
- (a)
- Derive the modified Euler formula
for solving the initial value problem
,
.
Draw an appropriate picture to illustrate your reasoning.
- (b)
- Consider the following second order
initial value problem:
-
- (i)
- Write this as a system of first order initial
value problems.
- (ii)
- Using a modified Euler approach with
,
find an approximate value of
.
p.t.o.
SOME FORMULAE
- A.
- Let
, with
,
for
, and
.
- Trapezoid Rule:
, where
- Simpson's Rule (
even):
, where
- B.
- Taylor's Theorem: suppose
and all of its
derivatives are defined on
. Then
- C.
- Suppose
satisfies the first order initial
value problem
,
. Let
for
.
- Improved Euler method:
- 4-stage Runge-Kutta method:
where
Niall Madden
2001-04-25