

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Instructions Answer any FOUR questions. All questions carry equal marks.
Examiners: Dr. R. Sheedy Prof. J. Monaghan Mr. J. E. Hegarty
Q1. (a) Explain the terms convergence and stability as applied to numerical methods for
obtaining roots of an equation and show that 1 ( ))
f' x^2 <
f x f" x is a necessary condition
for convergence of the Newton-Raphson Method. (8 marks)
(b) The displacement of a structure is defined by y = 10 e 0.^5 t^ Cos 2 t for damped oscillation. Estimate the time required for the displacement to decrease to 4. (5 marks)
(c) Write a program that searches for real roots in an interval [a, b] using step size h. Your program calls a subroutine which uses either Bisection or Newton-Rapshon Method to zone to the root. (8 marks)
(d) Illustrate, using a suitable example, an equation with multiple roots. Outline any numerical method for obtaining multiple roots. (4 marks)
Q2. (a) Briefly describe the rationale behind:
(i) Newton Cotes Integration formulae (ii) Gauss Quadrature Derive the two point Gauss Quadrature formula. (8 marks)
(b) Outline the general structure of a program for Numerical Integration using either Gauss
(c) Use two point Gauss Quadrature to evaluate the integral of (^) f ( x )= Sinx between the limits x = 0 and x = π. (5 marks) (d) Explain Rômberg Integration. (4 marks)
Q3. (a) Use central difference formulae to estimate the first and second derivative of
f ( x )= e^ x at x = 0. 5 using step size h = 0.1. (6 marks) (b) The following data results when a metal ball heated to 90ºC is dropped into water held constant at T (^) a = 20ºC. Rate of cooling dTdt^ = − k ( T − Ta )where T = temperature of the ball. Time t 0 5 10 15 Temp T 90 62.5 45.8 35. Use difference formulae to compute dTdt^ at each value of time. (9 marks)
(c) Plot dTdt^ versus ( T − Ta )and employ linear regression to evaluate k. (10 marks)
Q4. (a) Briefly describe the terms: (i) Interpolation (ii) Extrapolation. (6 marks) (b) State the formula for Newton's Interpolating Polynomial fn (x) of degree n. Derive this formula for the case n = 2 (Quadratic Interpolation). (6 marks) (c) The points (1,0), (4,1.386), (6,1.791) lie on the curve f(x) = ln x. Fit a 2nd^ order Newton's Interpolating polynomial to the data and hence calculate ln 2. (6 marks) (d) Use the additional data point (5,1.609) to estimate the error for the 2nd^ order polynomial in (c). (7 marks)