Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Central Difference Formulae - Numerical Methods and Computing - Old Exam Paper, Exams of Mathematical Methods for Numerical Analysis and Optimization

Main points of this past exam are: Central Difference Formulae, Roots of Equation, Fortran Program, Newton’s Method Converges, Gaussian Elimination Method, System of Linear Equations, Gauss-Seidel Method, Richardson’s Extrapolation

Typology: Exams

2012/2013

Uploaded on 03/28/2013

shona
shona 🇮🇳

4

(1)

18 documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Cork Institute of Technology
Bachelor of Engineering (Honours) in Structural Engineering – Stage 2
(Bachelor of Engineering in Structural Engineering – Stage 2)
(NFQ – Level 8)
Autumn 2005
Numerical Methods and Computing II
(Time: 3 Hours)
Instructions Examiners: Dr. T. Creedon
Answer any four questions. Prof. P. O’Donoghue
All questions carry equal marks. Mr. T. Corcoran
Q1. (a) Describe any two of the following methods for obtaining roots of an equation:
(i) Bisection
(ii) False-Position
(iii) Newton (7 marks)
(b) Write a Fortran program for locating single roots using one of the methods in
part (a). (7 marks)
(c) Suppose 0)( =xf has a single root. Show that if )(xf and its derivatives are
continuous on an interval about the root and
()
1
)(
)()(
2
'
''
<
xf
xfxf for all x in this
interval, then Newton’s method converges to the root. (7 marks)
(d) Illustrate using a suitable example an equation with multiple roots. Describe
the modified Newton’s method for obtaining multiple roots. (4 marks)
Q2. (a) Describe the Gaussian Elimination method for solving a system of linear
equations. (9 marks)
(b) Outline the general structure of a program for solving systems of linear
equations using either Gaussian elimination or the Gauss-Seidel method.
(8 marks)
(c) Describe the main pitfalls in using Gaussian elimination and list some
techniques for improving the solution. (8 marks)
pf3

Partial preview of the text

Download Central Difference Formulae - Numerical Methods and Computing - Old Exam Paper and more Exams Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Cork Institute of Technology

Bachelor of Engineering (Honours) in Structural Engineering – Stage 2

(Bachelor of Engineering in Structural Engineering – Stage 2)

(NFQ – Level 8)

Autumn 2005

Numerical Methods and Computing II

(Time: 3 Hours)

Instructions Examiners: Dr. T. Creedon Answer any four questions. Prof. P. O’Donoghue All questions carry equal marks. Mr. T. Corcoran

Q1. (a) Describe any two of the following methods for obtaining roots of an equation: (i) Bisection (ii) False-Position (iii) Newton (7 marks)

(b) Write a Fortran program for locating single roots using one of the methods in part (a). (7 marks)

(c) Suppose f ( x )= 0 has a single root. Show that if f ( x )and its derivatives are

continuous on an interval about the root and

'^2

'' < f x

f x f x for all x in this

interval, then Newton’s method converges to the root. (7 marks)

(d) Illustrate using a suitable example an equation with multiple roots. Describe the modified Newton’s method for obtaining multiple roots. (4 marks)

Q2. (a) Describe the Gaussian Elimination method for solving a system of linear equations. (9 marks)

(b) Outline the general structure of a program for solving systems of linear equations using either Gaussian elimination or the Gauss-Seidel method. (8 marks)

(c) Describe the main pitfalls in using Gaussian elimination and list some techniques for improving the solution. (8 marks)

Q3. (a) Use central difference formulae to estimate the first and second derivative of

f ( x )= x^4 at x = 1. 5 using a step size of h = 0. 5. (8 marks)

(b) Use Richardson’s extrapolation to obtain an O ( h^4 )estimate of the first derivative of f ( x )= x^4 at x = 1. 5. (8 marks)

(c) Show that the differential operator D is related to the difference operator ∆ by:

ln( 1 )

h

D.

Hence, show that the nth derivative can be approximated as follows:

i

n i n

n (^) f h

D f ≈ ∆

. (9 marks)

Q4. (a) Outline the general structure of a program that implements the composite Trapezoidal rule. (6 marks)

(b) Describe Romberg integration. (5 marks)

(c) Use Romberg integration to find (correct to five decimal places) the integral

of

x^2

e −^ between x = 0. 2 and x = 1. 5. (8 marks)

(d) State the two point Gaussian quadrature formula. Use two point Gaussian quadrature to evaluate the integral of f ( x )=cos x

between x = 0 and 2

π x =. (6 marks)

Q5. (a) State the formula for Newton’s interpolating polynomial Pn ( x )of degree n.

Derive this formula for the case n = 2. (8 marks)

(b) The points (1,0), (4,1.386), (6,1.791) lie on the curve f ( x )= ln x. Fit a 2nd order Newton interpolating polynomial to the data and hence calculate f ( 2 )=ln 2. Use the additional point (5,1.609) to estimate the error in your calculation of f ( 2 ). (9 marks)

(c) Outline the general structure of a program to implement Newton’s interpolating polynomial. (8 marks)