Assignment Questions
Part A: Numerical Differentiation and Integration
1. Using Newton’s Forward interpolation formula, find the first and second derivative of y at
x = 1.2 from the following table:
x: 1.0 1.1 1.2 1.3 1.4
y: 0.0000 0.0953 0.1823, 0.2624 0.3365
2. Using Newton’s Backward interpolation formula, find the first derivative of y at x = 1.4
from the same table as above.
3. Apply the Trapezoidal rule to evaluate correct to 4 decimal places.
4. Apply Simpson’s 1/3 rule to approximate using 4 subintervals.
5. Apply Simpson’s 3/8 rule to approximate using 6 subintervals.
6. Evaluate using two-point Gaussian quadrature rule.
7. Evaluate using three-point Gauss-Legendre quadrature rule.
Part B: Initial and Boundary Value Problems
1. Solve the initial value problem dy/dx = x + y with y(0) = 1 using Taylor’s Series method
up to x = 0.2 taking step size h = 0.1.
2. Solve the initial value problem dy/dx = y - x^2 + 1, y(0) = 0 using Euler’s method in the
interval [0, 1] with step size h = 0.2.
3. Solve the same problem using Modified Euler’s method and compare results with Euler’s
method.
4. Solve dy/dx = x + y, y(0) = 1 using Runge-Kutta method of fourth order at x = 0.1, 0.2
taking h = 0.1.
5. Solve the boundary value problem y'' + y = 1, y(0) = 0, y(1) = 0 using finite difference
method with step size h = 0.25.