Sme 3350 Numerical Methods 3
Sme 3350 Numerical Methods 3
dy
a) Given that = x 3 + y, y (0) = 1 . Compute y (0.02) by Euler’s method taking h = 0.01
dx
(6 marks)
b) Starting with x0 = 3 , find a root of the equation x 3 − 3 x − 5 = 0 correct to 3 decimal places
using the Newton-Raphson method (6 marks)
c) With the following system of equations
2 x1 − x 2 + 2 x3 = 3
x1 + 3 x 2 + 3 x3 = −1
x1 + 2 x 2 + 5 x3 = 1
Set-up the Gauss-Seidal iteration scheme for the solution. Iterate two times using the initial
approximations x1( 0 ) = 0.3, x 2( 0 ) = −0.8, x3( 0 ) = 0.3 (7 marks)
d) Using the Lagrangian interpolation polynomial, evaluate y (5) from the following data
x 1 2 3 4 5 6
y 1 8 27 64 125 216
a) Using the first four terms of the Taylor series expansion, obtain y (0.1) given that,
dy
= 3 x + y 2 , y (0) = 1 and h = 0.1 (10 marks)
dx
b) Use Runge-Kutta fourth order method to find y (0.2) with h = 0.1 for the IVP
dy
= x + y , y ( 0) = 1 (10 marks)
dx
a) (i) Find the root of the equation e x = 4 x which is near 2, correct to 3 decimal places
(6 marks)
(ii) Find the root of the equation Sin x = 1 + x 3 , that lies between -2 and -1 correct to 3 decimal
places by Newton-Raphson method (7 marks)
b) Find by the iteration method, the root near 3.8 of the equation Log 10x − 2 x + 7 = 0 correct to 4
decimal places (7 marks)
a) The following data give the melting point of an alloy of lead and zinc, where T is the
temperature in ºC and P, the percentage of lead in the alloy. (10 marks)
b) Find the value of Log10 2.91, using the table below (10 marks)
X 2.0 2.2 2.4 2.6 2.8 3.0
b) In a machine, the slinder moves along a fixed straight rod. Its distance x units along the rod is
tabulated below for various values of time t seconds.
T (Time (s) 0 0.1 0.2 0.3 0.4 0.5 0.6
Find
(i) The velocity
(ii) The acceleration of the slides when t = 0.3 sec (15 marks)