DIGITAL ASSINGMENT-3005
Note: Register number end up with odd numbers
answer odd numbered questions only
Register number end up with zero/even numbers
answer even numbered questions only
1. Use Secant method to find a real root of the equation
2
sin x x
2
0 . Choose the starting values x0 = 1, x1 = 2. Show the work up
to only one iteration.
2. Compute Newton’s forward interpolation polynomial for the following table
x 1 2 3 4
f(x) 0 2 12 20
3. Use the fourth order Runge-Kutta method to find y(0.2), given that
y 3 y 4e x , y(0) = 1.
4. Use finite difference method to calculate the potentials at nodes 1 and 2 in the
potential system shown in the following 60 60
1 2
40 40
0 0
5. Investigate the extremals of the functional
1
I y 2 x 2 y dx under the conditions y (0) 0, y 1 A .
0
6. (a) Perform two iterations of the Newton-Raphson method to solve the system of
equations x 2 y 2 3 and xy 1 0 . Take the initial approximation as x =
0
0.5, y0 = 1.5.
(b) For the following system of equations –x1 + 4x2 – 2x3 = –1;4x1 – x2 + x3 = 12
x1 – 2x2 + 4x3 = 5 ; (i) Set up the Gauss-Seidal iteration scheme (ii) Starting
with X(0) = 0, iterate two times.
7. (a) Use the natural Cubic Spline to determine y at x = 1.5. The data points are
x 1 2 3 4 5
f(x) 0 1 0 1 0
(b) Compute
1 sin x
I 1 dx
0 x
using Simpson’s rule with 3 and 5 nodes. Improve the results using Romberg
integration.
8. (a) Estimate y(0.1) using the Runge Kutta 4th order method for the initial value
problem y ( x) xy ( x) y 0 , y(0) 0, y (0) 0 .
(b) Solve the following boundary value problem by finite difference method
y( x) y( x) x with y (0) = 1, y(1) = 0. Choose h = ¼. If the boundary
conditions are y (0) 0, y (1) 1 , how do you propose to solve the problem
numerically (write the set of equations, don’t solve them).
9