NMCP Question Bank
NMCP Question Bank
𝑥2 𝑥3
ex = 1 + 𝑥 + + … ….
2! 3!
3. Apply the Jacobi method to solve : Continue iterations until two successive approximations
are identical when rounded to three significant digits
5x1 – 2x2+ 3x3 = -1
-3x1 + 9x2 + x3 = 2
2x1 – x2 -7 x3 = 3
4. Evaluate the following (Correct to four decimal places) By Newton’s iteration method
i)√8 ii)4√32 iii)(28)-1/4
X : 0 1 2 5
F(x) : 2 3 12 147
8. X : 5 6 9 11
Y : 12 13 14 16
Consider above data points, find y(10) = ?
Ch 4. Numerical Integration and Differentiation:
1. Given dy/dx = y-x / y+x with initial condition y=1 at x=0, find y for x= 0.1 by Euler’s
method
2. Using Euler’s modified method, obtain a solution of the equation dy/dx =
x+ I√yI , with initial condition y=1 at x=0 for the range 0 ≤ x ≤ 0.6 in steps of 0.2
3. Solve the following by Euler’s modified method
dy/dx = log(x+y) , y(0) =2
at x =1.2 & 1.4 with h =0.2
4. Apply Runge kutta 4th order method to find approximate value of y for x =0.2 in steps of
0.1, if dy/dx = x+y2 given that y=1 where x =0.
5. A solid of revolution is formed by rotating about x-axis, the lines x = 0 & x= 1 & a
curve through the points with the following coordinates :
X : 0.00 0.25 0.50 0.75 1.00
Y : 1.0000 0.9896 0.9589 0.9089 0.8415
1 𝑑𝑥
6. Evaluate ∫0 using
1+𝑥 2
Trapezoidal rule
Simpson’s 1/3rd rule
Simpson’s 3/8th rule
7. Employ Taylor’s method to obtain approximate value of y at x =0.2 for the differential
equation dy/dx =2y + 3e^x, y(0) =0.
8. Using Runge-Kutta method of order 4, find y(0.2) given that
dy/dx = 3x + ½ y , y(0) =1 , taking h=0.1
Ch. 5 Object Oriented Programming: