You are on page 1of 4

# M (CS) – 312 NUMERICAL METHODS & PROGRAMMING

Multiple Type Choice Questions
1. i) Which of the following relations is/are true? a) ∆ . = c) ∆ . = + b) ∆ . = / d) all of these ii) The (n+ 1) th order forward difference of the nth degree polynomial is a) n ! b) ( n + 1 ) ! c) 0 d) none of these

iii) To solve the ordinary differential equation 3 need to rewrite the equation as a) b) c) d) = sin x – 5y2, y(0) = 5 = (sin x – 5y2), y(0) = 5 = (-cos x – ), y(0) = 5

= sin x, y(0) = 5

v) Output of the following programme code main () { int x, y; y = 4; x = y << 4; printf( “%d”, x);

m

a) b) c) d)

f’ (x) = 0 |f’ (x)| < 1 |f (x)f” (x)| < [f’ (x)]2 [f” (x)]2 > |f(x).f’(x)|

yw

iv) The condition of convergence of Newton-Raphson method when applied to an equation f (x) = 0 in an interval is

bu

t.c

om

+ 5y2 = sin x, y(0) = 5 by Euler’s method, you

} is a) 63 b) 60 c) 64 d) 65

vii) Simpson’s one-third rule is applicable only if the number of subinterval is even. a) True b) False viii) The error involved in 4th order R-K method is given by a) O (h2) b) O (h3) c) O (h4) d) O (h5)

ix) Find the output of the following program: main () { char a, b; a = ‘b’; b = a;

} a) a b) b

m

yw

printf( “b = %c\n”, b);

x) The no. of significant digits in 1.00234 is a) 4 b) 6 c) 3 d) 5

Short Answer Type Questions
2. Find the inverse of the matrix

bu
c) garbage value d) none of these

t.c

om

by Gauss elimination method. 3. a) Prove that f(4) = f(3) + ∆ f(2) + ∆2 f(1) + ∆3 f(1). b) Evaluate ∆2 cos 2x.

4. a) Solve by Taylor’s series method

= 2x + 3y2 given y = 0 when x = 0 at x = 0.2. = x – y, with y (0) = 1 and h = 0.2 at x = 0.4.

b) Using Euler’s method obtain the solution of

Long Answer Type Questions

b) Write a C program in C for Trapezoidal Rule, taking any function of your choice.

8. a) Solve the following equation using LU decomposition method: 3x1 + 2x2 + x3 = 10 2x1 + 3x2 + 2x3 = 14 x1 + 2x2 + 3x3 = 14 b) Solve x2 – 4x – 10 = 0 using bisection method in the range [-1, -2] counted up to 6th approximation.

9. a) Given

correct up to 4 decimal places, taking step length h = 0.02.

m

yw

Use it to find y at x = 1.5,

bu

7. a) Find by Lagrange’s interpolation polynomial passing through the set of points: x 0 1 2 y 4 3 6 at x = 0.5 and evaluate .

with initial condition y = 1 at x = 0, find y for x = 0.1 by Euler’s method,

t.c

om

5. Evaluate to three decimals by Netown-Raphson method. 6. a) What do you mean by geometrical interpolation of Simpson’s 1/3rd rule? b) Calculate the area of the function f (x) = sin x with limits (0 – 900) by Simpson’s 1/3rd rule using 11 ordinates.

b) Calculate by Simpson’s 1/3rd rule, the value of the integral

dx, correct up to three

significant figures by taking six intervals. c) Write a C program in C using recursive function to calculate the sum of all digits of any number. 10. a) Find the roots of the equation x3 – 5x – 7 = 0 that lies between 2 and 3, correct up to 4 decimal places, using the method of false position. b) Find the value of y (0.1), y(0.2) and y(0.3) using Runge-Kutta method of the fourth order, given that

11. a) Compute the value of π from the formula,

using Trapezoidal rule with 10 sub-intervals.

b) Using Newton divided difference formula, evaluate f(8) and f(15) given: x: f(x): 4 48 5 100 7 294 10 11 13

bu
900

m

yw

t.c
1210

om
2028