Numerical Methods Class Notes
Numerical Methods Class Notes
Numerical Methods Class Notes
15. State any two differences between direct and iterative methods for solving system of
equations?
16. In solving a linear system, compare Gauss elimination method and Gauss-Jordan
method?
�1 1�
� correct to two decimal places using power method.
�1 1��
20. Explain the power method of finding the numerically largest Eigen value of a matrix.
PART – B
1. Find by Newton - Raphson method, the real root of x log10 x = 1.2 correct to 4
decimal places
2. Find the root of xe x = 3 by Regula-Falsi method correct to 3 decimal places.
3. Find a real root of x 3 - 9 x + 1 = 0 that lies between 2 and 3 by the Method of False
2 1 1�
�
�
3 2 3�
9. Find the inverse of a matrix � �by Gauss Jordan method.
�
1 4 9�
� �
�2 -1 0 �
�-1 2 -1�
10. Using Power method, find a dominant Eigen value of the given matrix � �
�
�0 - 1 2 �
�
UNIT – II
INTERPOLATION AND APPROXIMATION
PART A
1. State Newton’s Forward Interpolation Formula.
2. State Newton’s Backward Interpolation Formula.
3. What is the difference between Interpolation and Extrapolation?
4. Write Newton’s Divided Difference Formula.
5. If f ( 3) = 5 and f ( 5 ) = 3, what is the form of f ( x ) by Lagrange’s Formula?
6. When Bessel’s formula is to be used?
7. Write Stirling’s formula.
8. What is the error involved in Newton’s Interpolation formula.
9. Form the Divided Differences table, given
x 1 3 6 11
y 4 32 224 1344
x 4 6 8 10
y 1 3 8 16
13. Write the formula to find the divided difference of order one.
14. Write the second order divided difference formula.
15. Form the difference table for the following data.
16. Find the third order divided difference of f ( x ) with arguments 2, 4, 9, 10 where
f ( x ) = x3 - 2x .
17. State Lagrange’s Interpolation Formula.
18. State Inverse Lagrange’s Interpolation Formula.
19. Given y ( 1) = -26, y ( 2 ) = 12, y ( 4 ) = 256 and y ( 6 ) = 844 then form the difference
table.
20. Find the value of x for which y = 7, given
x 1 3 4
y 4 12 19
PART-B
1. From the following table values of x and f ( x ) , determine f ( 0.23) and f ( 0.29 ) .
x 0 1 2 3 4
y 2 3 12 35 78
Sin 45o = 0.7071, Sin 50o = 0.7660, Sin 55o = 0.8192, and Sin 60o = 0.8660.
x 5 10 15 20
x 0 4 8 12
x -1 0 1 2
y -8 3 1 12
10. Using Newton’s divided difference formula, Find the value of f ( 8 ) from the
following table.
x 4 5 7 10 11 13
y 48 100 294 900 1210 2028
UNIT – III
NUMERICAL DIFFERENTIATION & INTEGRATION
PART-A
2
d y
1. Write the formula to compute at x = x 0 + ph for the given data ( xi , yi ) ,
dx 2
i = 0,1,......n
dy d 2 y x = xn
2. State Newton’s backward interpolation formula to Find and at
dx dx 2
dy d2y
3. State Newton’s forward difference formula to find and at x = x0
dx dx 2
dy
4. Write the formula to compute at x = x0 + ph for a given data ( xi , yi ) ,
dx
i = 0,1,....., n
5. How will you improve the accuracy in the Trapezoidal Rule?
dy
6. Find at x = 2 from the following data
dx
x 2 3 4
y 26 58 12
7. State Trapezoidal Rule. What is the order of error?
th
8.
What is the condition for applying Simpson’s 3/8 Rule? Write the formula also.
1
9. State the basic principle for deriving Simpson’s Rule.
3
1
10. State the order of error in using Simpson’s Rule for integration.
3
4
12. A curve passes through ( 2, 8 ) , ( 3, 27 ) , ( 4, 64 ) and ( 5, 125 ) . Find the area of the
curve between x axis and the lines x = 2 and x = 5 by Trapezoidal rule.
13. A curve is passing through the points (1,2) , ( 2,1) and ( 4,5) . Find the slope of the curve
at x = 3
14. Define Numerical Differentiation.
2
dx
15. Evaluate �
1+ x
1
2 by Trapezoidal rule with h = 0.5.
directions.
b d
directions.
PART-B
1. Find first and second derivatives of the function y at the point x = 1.2 using the
following data.
x 1 2 3 4 5
y 0 1 5 6 8
5.2
2. Evaluate �
log
4
e xdx by using
parts.
1
dx
6. Use Romberg’s method, to compute I = � correct to 4 decimal places. Hence
0
1+ x
find log e 2 .
1
dt
7. Evaluate I = � by Gaussian two point and three point formula. Find a boundary
0
1+ t
for the error in three point formula and compare it with true error
1
sin x
8. Evaluate �x
0
dx, by a Gaussian three – point quadrature formula.
1 1
9. Evaluate I = �
�e x + y dxdy, using the trapezoidal and Simpson’s rules.
0 0
1 1
10. Compute �
�xydxdy
0 0
with h = 0.25 and k = 0.5, using Simpson’s rule.
UNIT-IV
INITIAL VALUE PROBLEMS OF ODE
PART-A
dy
1. State modified Euler algorithm to solve = f ( x, y ) , y ( x o ) = y o at x = x 0 + h
dx
dy
2. Write the Runge-Kutta algorithm of second order for solving = f ( x, y ) , y ( x0 ) = y0
dx
3. State Taylor series algorithm for the first order differential equation
4. State the disadvantage of Taylor series method.
dy
5. Write down Euler algorithm to the differential equation = f ( x, y ) .
dx
dy
6. Write down the Runge-Kutta formula of fourth order to solve = f ( x, y ) with
dx
y( x o ) = y o .
PART-B
1. Using Taylor series method, find approximate values of y and z corresponding to
dy dz
x = 0.1, given that y (0) = 2, z (0) = 1 by solving = x + z and = x - y2 .
dx dx
dy
2. Using Taylor’s method Solve = 1 + xy given y (0) = 2. Find (i ) y (0.1), (ii ) y (0.2)
dx
and (iii ) y (0.3) .
dy
3. Solve = x + y, given y (1) = 0, Find y (1.1) and y (1.2) by Taylors series method
dx
dy
4. Using the Runge-Kutta method, tabulate the solution of the system = x + z,
dx
dz
= x - y , y (0) = 0, z (0) = 1, h = 0.1. Find y (0.1) , y (0.2), z (0.1) and z (0.2) .
dx
dy y 2 - x 2
5. Find y ( 0.2 ) using Runge-Kutta method of fourth order by solving = with
dx y 2 + x 2
y (0) = 1, h = 0.2 .
2
d2y �dy �
6. Solve 2
- x � �+ y 2 = 0 using Runge-Kutta method for x = 0.2 correct to 4
dx �dx �
decimal places. Initial conditions are x = 0, y = 1, and y ' = 0.
dy
7. Using Runge-Kutta method of order 4 find y for x = 0.1, 0.2 given that = xy + y 2 ,
dx
y ( 0) = 1 .
dy
8. Given + y - x 2 = 0, y (0.2) = 0.8213, Find y (0.3) correct to four decimal places
dx
using Modified Euler’s method.
dy
9. Using Modified Euler method, Find y (0.1) , y (0.2), given = x 2 + y 2 , y (0) = 1.
dx
dy
10. Using Euler’s method. Find y (0.2) , y (0.4) and y (0.6) from = x + y, y (0) = 1,
dx
and h = 0.2
UNIT – V
BOUNDARY VALUE PROBLEMS
PART – A
7. Write the finite difference scheme using forward difference in time and central
difference in the x -direction for the one dimensional heat flow equation.
�2u 1 �u
8. State Bender-Schmidt scheme to solve 2 = 2
�x a �t
9. State Crank–Nicolson’s implicit scheme for solving one dimensional heat equation.
u 2u
10. Write the simplest form of Crank-Nicolson’s scheme to solve =c 2
t x
11. Approximate a u xx = u tt in terms of finite differences.
2
12. In the explicit formula for solving one dimensional wave equation given the equation
1
if = 2 , what is the simplest form to explicit scheme?
2
a
13. In solving the wave equation u tt = a 2 u xx , how will you express the initial condition
ut ( x, 0) = 0 ?
14. What is the error involved in using finite difference method for solving Laplace
equations.
15. What is point wise solution of a differential equation?
16. Classify u xx + 4u yy + 3u xy + 4u y + 3u x = 0 .
17. When the equation will be elliptic, parabolic and hyperbolic?
18. Write different methods for solving Boundary Value Problem.
19. Define boundary value problem.
20. Write the difference scheme for solving the Laplace equation.
PART – B
1. Solve numerically utt = 4u xx with boundary conditions u (0, t ) = 0 = u (4, t ), ut ( x, 0) = 0
and u ( x, 0) = x(4 - x)
2u 2u
2. Solve 2 + 2 = 0 at the nine mesh points of the square given below. The values of
x y
u at the boundary are specified in the figure.
2
3. Solve by finite difference method, the boundary value problem d y - y = 0 with
dx 2
y ( 0 ) = 0 and y ( 2 ) = 4 choosing x = 0.5
4. Solve xy ''+ y = 0, y '(1) = 0 and y (2) = 1 with h = 0.5
5. Solve the Laplace equation u xx + u yy = 0 for the following square mesh with
boundary values as shown.
7. Solve the Poisson equation � u = -10( x + y + 10) over the square mesh with sides
2 2 2