Sie sind auf Seite 1von 6

KIMATHI UNIVERSITY COLLEGE OF TECHNOLOGY Bachelor of Science in Telecommunication and Information Engineering SMA 2471 Numerical Analysis Ordinary

Examination Time: 2Hours


Instructions: Answer Question One and any other TWO Questions

QUESTION ONE (30 Marks)


a) Explain the term numerical analysis. b) State three advantages of the Runge-Kutta method. c) Construct a forward difference table, given cos300=0.8660, cos350=0.8192, cos400=0.7660, cos450=0.7071, cos500=0.6428. Assuming that the fourth differences are constants, find cos550. d) Using three points, interpolate y at x=5 given x y 1 2 3 4 7 (2 Marks) (3 Marks)

(4 Marks)

(5 Marks)

16

128

e) Use Simpsons rule with 8 intervals to evaluate 132xdx correct to 3 decimal places. (5 Marks)

f) Use Eulers method to obtain a numerical solution of the differential equation 1xdydx+2y=1 given that x=0 y=1, in the range x=00.250.5. Marks) g) Using Newton-Raphson formula, establish the iterative formula xn+1=12xn+Nxn to calculate the square root of N. Compute 26 using two iterations of the formula. Marks)

(5

(6

QUESTION TWO (20 Marks)


a) Compute dydx+y+xy2=0, y0=1 by taking h=0.1 using Runge-Kutta method of fourth order correct to 4 decimal places. (7 Marks)

b) Using Rombergs formula, prove that 01.211+xdx=0.7883 (correct to four decimal places) (10 marks) c) Use stirlings formula to find dydx at x=2.8 using the table Marks) x 1 2 3 4 5

(3

fx

1.4

3.3

5.6

8.1

where dydx=1h12y0+y-1+s2y-1+3s2-1123y-1+3y-2+2s3-s124y-2+

QUESTION THREE (20 Marks)


a) A Fourier analysis of the instantaneous value of a waveform can be represented by: y=t+4+sint+18sin3t Use one iteration of the Newton-Raphson method to determine the value of t near to 0.04, correct to 4 decimal places, when the amplitude, y, is 0.880 d) Evaluate y=e2x for x=0.05 using the following table. x y=e2x 0.00 0.10 0.20 0.30 0.40

(4 Marks)

(6 Marks)

1.000

1.2214

1.4918

1.8221

2.255

b) Tabulate by Milnes predictor-corrector method the numerical solution of dydx=x+y with initial conditions x0=0, y0=1 from x=0.20 to x=0.30 with y1=1.1026, y2=1.2104, y3=1.3237.

(10 Marks)

QUESTION FOUR (20 Marks)


a) Find the first derivative of x at x=15 from the table below x x 15 17 19 21 23 25

(5 Marks)

3.873

4.123

4.359

4.583

4.796

5.000

b) Given dydx=1+xy with the initial condition that y=1, x=0, compute y0.1 correct to four decimal places by using the Taylor series method. (7 Marks) c) Solve x3-12.2x2+7.45x+42=0 by Newtons second order method, taking x0=12. (8 Marks)

QUESTION FIVE (20 Marks)

a) Using Lagrange interpolation formula, find the value of y corresponding to x=10 from the table below. x y=fx (4 Marks)

11

12

13

14

16

b) Evaluate 01211+x2dx using Trapezoidal rule with n=6 correct to six significant figures. Compare with the exact value. (6 Marks) c) Apply the Improved Euler method to solve the differential equation dydx=y-2x in the range 00.10.3 given the initial conditions that ax x=0, y=2.

(10 Marks)

Das könnte Ihnen auch gefallen