Browse papers
A

Section A: Long Answer Questions

Attempt all / any as specified.

4 questions
1long12 marks

(a) Derive the iterative formula of the Newton-Raphson method for finding a real root of the equation f(x)=0f(x)=0, and state the geometric interpretation of the method. Discuss the conditions under which the method may fail to converge. (6)

(b) A real root of the equation x32x5=0x^3 - 2x - 5 = 0 lies between 2 and 3. Using the Newton-Raphson method, perform three iterations starting from x0=2x_0 = 2 and obtain the root correct to four decimal places. Compare the rate of convergence with that of the bisection method. (6)

roots-of-equationsnewton-raphsonbisection-method
2long14 marks

(a) Derive Newton's forward difference interpolation formula and clearly state the situation in which it should be preferred over Newton's backward difference formula. (6)

(b) The following table gives the population (in thousands) of a town in different census years:

Year (xx)19711981199120012011
Population (yy)46668193101

Using an appropriate interpolation formula, estimate the population of the town in the year 1976. (8)

interpolationnewton-divided-differencelagrange-interpolation
3long14 marks

(a) Derive the fourth-order Runge-Kutta method for solving the first-order ordinary differential equation dydx=f(x,y)\frac{dy}{dx}=f(x,y) with the initial condition y(x0)=y0y(x_0)=y_0. (6)

(b) Using the fourth-order Runge-Kutta method, find y(0.2)y(0.2) for the initial value problem dydx=x+y2,  y(0)=1\frac{dy}{dx}=x+y^2,\; y(0)=1, taking step size h=0.1h=0.1. Carry out two steps and retain four decimal places. (8)

numerical-solution-of-odesrunge-kutta-methodeuler-method
4long12 marks

(a) Explain the Gauss-Seidel iterative method for solving a system of linear equations. State the condition of diagonal dominance and explain why it guarantees convergence. (5)

(b) Solve the following system of equations using the Gauss-Seidel iterative method, performing iterations until the values are correct to three decimal places:

10x+2y+z=9,2x+20y2z=44,2x+3y+10z=2210x + 2y + z = 9,\quad 2x + 20y - 2z = -44,\quad -2x + 3y + 10z = 22

(7)

linear-systemsgauss-seidelgaussian-elimination
B

Section B: Short Answer Questions

Attempt all / any as specified.

7 questions
5short7 marks

Using the secant method, find a real root of the equation cosxxex=0\cos x - x e^{x} = 0 correct to three decimal places. Take initial approximations x0=0x_0 = 0 and x1=1x_1 = 1, and tabulate your iterations.

roots-of-equationssecant-method
6short7 marks

Fit a curve of the form y=aebxy = a e^{bx} to the following data by the method of least squares and hence estimate yy at x=6x = 6:

xx12345
yy1.652.704.507.3512.10
curve-fittingleast-squareslinearization
7short7 marks

Evaluate the integral 01dx1+x2\int_{0}^{1}\frac{dx}{1+x^{2}} by dividing the interval into six equal subintervals, using (a) the Trapezoidal rule and (b) Simpson's 1/31/3 rule. Compare both results with the exact value and comment on the accuracy.

numerical-integrationsimpsons-ruletrapezoidal-rule
8short6 marks

From the following table of values, find the first and second derivatives of the function y=f(x)y=f(x) at x=1.1x = 1.1 using suitable numerical differentiation formulae:

xx1.01.21.41.61.8
yy0.0000.1280.5441.2962.432
numerical-differentiationfinite-differences
9short6 marks

(a) Distinguish between truncation error and round-off error with one example of each. (3)

(b) If u=5xy2z3u = \frac{5xy^{2}}{z^{3}} and errors in x,y,zx, y, z are each 0.0010.001 at x=y=z=1x = y = z = 1, compute the maximum absolute error and the maximum relative error in uu. (3)

error-analysisround-off-errortruncation-error
10short7 marks

Using the Modified Euler method, solve the differential equation dydx=x+y\frac{dy}{dx} = x + y with y(0)=1y(0) = 1 to find y(0.1)y(0.1) and y(0.2)y(0.2), taking h=0.1h = 0.1. Perform the corrector iteration until two successive values agree to four decimal places.

numerical-solution-of-odespredictor-correctormodified-euler
11short7 marks

Using the LU (Doolittle) decomposition method, factorize the coefficient matrix and hence solve the system of equations:

x+y+z=6,3x+3y+4z=20,2x+y+3z=13x + y + z = 6,\quad 3x + 3y + 4z = 20,\quad 2x + y + 3z = 13
linear-systemslu-decompositionmatrix-inversion