Numerical Methods Question Bank
Numerical Methods Question Bank
DEPARTMENT OF MATHEMATICS
14CE510 NUMERICAL METHODS
TUTORIAL I
x 1
1. sin x (2) 3x + sin x = ex (3) cos x – x2 – x = 0 (4)2x = 1 + 2 sin x
x 1
(5)20. 2x – log10x = 7.
(1) xex = 3. (2)x log10x = 1.2 (3) tan x + tanh x = 0 (4) xex = cos
x
(5) x2 – logex = 12
(1) x tan x = 1.28 (2)x log10x = 4.77239 (3) x sin x + cos x = 0 (4)sin x = 1 + x3
4. 2 x 3 y 2 z 2; 3 x 6 y z 6 :10 x 3 y 4 z 16
5. 2 x 2 y z w 4; 4 x 3 y z 2 w 6; 8 x 5 y 3 z 4 w 12; 3 x 3 y 2 z 2 w 6
VII Solve by LU decomposition method(Crout’s method) the system of equations
1. 5 x 2 y z 4 ; x 6 y 2 z 1 ; 3 x y 5 z 13.
2. 4 x y 3 z 11; 3 X 4 y 2 z 11; 2 x 3 y z 7
3. 2 x 6 y z 12; 5 x y z 11; 4 x y 3 z 10
4. 2 x 4 y 8 z 41; 4 x 6 y 10 z 56;6 x 8 y 10 z 64
5. 5x - 9y - 2z 4w 7; 3x y 4z 11w 2;10x - 7y 3z 5w 6; - 6x 8y - z - 4w 5
IX Solve Gauss Jacobi method and by SEIDAL method the system of equations
1. 20x - y - 2z = 17, 3x + 20y - z = - 18, 2x - 3y + 20z = 25.
2. 30 x 2 y 3 z 75 ; 2 x 2 y 18 z 30 ; x 17 y 2 z 48.
3. x + 3y + 5z = 173.61, x - 27y + 2z = 71.31, 41x - 2y + 3z = 65.46 ( Start with initial values
x = 1 , y = - 2 and z = 3 )
44. State Gauss’s two point, and three point quadrature formula.
45. State Simpson's cubature formula.
46. Define cubic spline
47. Differentiate between cubic spline interpolation and Newtons interpolation.
48. Classify the partial differential equation (x2)uxx + (1 - y2)uyy = 0
49. Mention the predictor and corrector formula used in Milne's multistep method
50. Mention the predictor and corrector formula used in Adam's multistep method
PART B
I LAGRANGE’S FORMULA
1. Find y(10) given y(5) = 12, y(6) = 13, y(9) =14, y(11) = 16.
2. Fit a polynomial passing through the points (0,4), 1,3), (4,24), (5,39).
3. If log(300) = 2.4771, log(304) = 2.4829, log(305) = 2.4843, find log (301).
II NEWTON METHOD
1.Use Newton Gregory formulae to find the value of y at x=1.05 and y(1.45) from the
following
1. Fit a cubic spline polynomial for the data and hence find y(4.5).
x 3 4 5
y 36 73 134
x 1 2 3
y 18 32 54
1. Using Newton formulae for derivatives find the first and second derivative of x from
the following
X: 15 17 19 21 23 25
x: 3.873 4.123 4.359 4.583 4.796 5.000
2. Find the first and second derivative of the function given below at x =3
3. Find the rate of increase of population of a certain city in 1931 & in 1965, from the table
given below
V NUMERICAL INTEGRATION
/
1. Using Simpson’s rules to evaluate ∫
2. The velocity(k.m/min) of a moped which starts from rest is given at fixed intervals of
time t(min) as follows.Estimate ths distance travelled using SImpson's and Trephezoidal
rule.
t 2 4 6 8 10 12 14 16 18 20
X 10 18 25 29 32 20 11 5 2 0
3. A river is 80 meter wide. The depth d in meters at a distance x meters from one bank
is given by the following table. Calculate the area of cross section of the river
using Simpson’s rule.
x: 0 10 20 30 40 50 60 70 80
d: 0 4 7 9 12 15 14 8 3
Use Simpson'srule.
Evaluate the following integrals using Gauss two point and three point formula
1 2
1 1 x
1. dx 3. dx 4. dx
0
1 sin x 0 1 x x
2
0 ( x 2)
2
1. ∫ ∫ 2) ∫ ∫ sin( + ) ∫ ∫
3
1
3. Apply Gauss two point formula and three point to evaluate 1 t dt .
2
Part A
x 2 xy y
19. State i) Standard five point formula ii) Diagonal five point formula.
20. Mention the Scheme of Leibmann’s Iterative process
21. Write down the Bender Schmidt recurrence equation in solving a parabolic equation.
22. Mention the Crank Nicholson difference scheme in solving a parabolic equation.
23. Give the explicit scheme of solving a hyperbolic equations.
Part B
RUNGE-KUTTA METHOD
1 Find the value of y for x = 0.1,02 by Runge-Kutta method of second order and
dy y x
Fourth order. given that ; given that y (0) 1.
dx y x
2. Find by Runge-Kutta method of second order and fourth order , the value of y at x=0.1
dy
and x=0.2 to five paces of decimals from x 2 y 1; given that y (0) 1.
dx
3. Apply R-K Method of i) Second order ii) fourth order to find the approximate value of
dy
y for x = 0.2 in steps of 0,1 if x y 2 ; given that y (0) 1.
dx
dy
4. Obtain the solution of x 2 (1 y ); given that y (1) 1. at 1 to 1.3 by any
dx
Runge-Kutta method of second order and fourth order Method and estimate y at x=1.4
5. Using Runge Method of second and fourth order find y(1.1) and y(1.2)
dy x2
; given that y (1) 1.
dx (1 y )
6. Find the values of y(0.2) and y(0.4), using Runge-Kutta method of order 4, given that
= , y(0) = 1.
MILNE’S AND ADAM’S METHOD
7. Given
dy 1
x 2 y; y (1) 2, y (1.1) 2.2156, y (1.2) 2.4649, y (1.3) 2.7514
dx 2
Use Milne’s method and Adam’s Method to estimate y(1.4) corrected to 4 decimal
places.
8. Find y(0.4) given = − , given y(0) = 1, y(0.1) = 1.0959, y(0.2) = 1.1841, y(0.3) =
1.2662. Use Milne’s method and Adam’s Method.
9. Find y(0.4) given = , y(0) = 1, after computing y(0.1),y(0.2), y(0.3) by Runge-
Kutta method of second order. Use Milne’s method and Adam’s Method to estimate
y(0.4) corrected to 4 decimal places.
12. Use finite difference method to solve the equation y"2 y ' y 0 ; y (0) 0 ; y (1) 1.
Take h = 0.25
13. Use finite difference method to solve the equation y"9 y e x ; y (0) 4 / 3 ; y (1) 0.38.
14. Solve the following equation at the intermediate points, given y” + y = sin x, y(0) = 1,
y(1) = 1. Take h = 1/3.
15. Applying finite difference method solve the equation yiv = x + y2, y(0) = -1, y(1) = 1.
h = 1/4
16. Compute y(0.25), y(0.5),y(0.75), if yiv = x2 – y, y(1) = 1, y(2) = 0
ELLIPTIC EQUATION
1. Solve uxx + uyy = 0 at the mesh points whose boundary values are as given in the fig
2. Solve the following Laplace equation 2 u 0 in the square region bounded by
x 0 ; x 4 ; y 0 ; y 4 with the boundary conditions
1
u (0, y ) 0 ; u ( 4, y ) 8 2 y ; u ( x,0) x 2 ; u ( x,4) x 2 with h=k=1
2
3. Solve: u xx u yy 0 ; over the square mesh of side 4 satisfying the following
u (0, y ) 0 ; 0 y 4 ; u (4, y ) 12 y ; 0 y 4 ;
boundary conditions
u ( x ,0 ) 3 x ; 0 x 4 ; u ( x , 4 ) x 2 ; 0 x 4 ;
4. Solve the following Poisson equation 2 u 4( x 2 y 2 ) over the square mesh of side 3
units satisfying the following B.Cs u (0, y ) 0 ; u (3, y ) 0 ; u ( x,0) 0 ; u ( x,3) 0.
5. Solve the following Poisson equation 2 u 8 x 2 y 2 for the square mesh of the following
figure with u(x,y)=0 on the boundary and the mesh length of 1 unit.
6. Solve Uxx + Uyy = 0 using Leibamann’s method for the following boundary.
PARABOLIC EQUATION
HYPERBOLIC EQUATION
1. Evaluate at the pivotal values of the following equation taking h=1 and up to one
half of the period of the oscillation 16u xx u tt given
u (0, t ) u (5, t ) 0 ; u ( x,0) x 2 (5 x ) ; u t ( x,0) 0.
20 x ; 0 x 1
u t ( x,0) 0 ; u (0, t ) u (5, t ) 0 & u ( x,0)
5(5 x) ;1 x 5