Numerical Methods Questions
Numerical Methods Questions
Bisection Method
1. Use the bisection method to find a root of the equation f(x) = x^3 - 4x - 9 in the interval [2, 3] up to
2. Apply the bisection method to find a root of f(x) = x^3 + x - 1 in [0, 1] with error less than 0.001.
3. Find the root of f(x) = cos(x) - x using bisection in the interval [0, 1], up to 5 iterations.
1. Solve x = cos(x) using the fixed-point iteration method, taking x0 = 0.5. Perform 5 iterations.
2. Given the equation x^3 + x - 1 = 0, rewrite it in the form x = g(x) and apply fixed point iteration
3. Apply fixed point method to solve x = sqrt(3 + x) using x0 = 1, and compute 5 iterations.
Newton-Raphson Method
1. Use the Newton-Raphson method to find a root of f(x) = x^3 - 2x - 5, starting from x0 = 2. Perform
4 iterations.
2. Solve f(x) = tan(x) - x near x = 4.5 using the Newton-Raphson method with 5 iterations.
3. Using Newton-Raphson method, find a root of f(x) = x^2 - 612 (i.e., find sqrt612) starting with x0 =
Secant Method
1. Apply the secant method to find the root of f(x) = x^3 - x - 2 using x0 = 1 and x1 = 2, and perform
5 iterations.
2. Use the secant method for f(x) = e^x - 3x, with initial guesses x0 = 0, x1 = 1. Compute 5
iterations.
3. Solve f(x) = ln(x) + x^2 - 3 using secant method starting with x0 = 1, x1 = 1.5. Perform 5 steps.
Lagrange Interpolation
1. Using Lagrange interpolation, find the polynomial that passes through (1,1), (2,4), and (3,9), and
2. Find the interpolating polynomial using Lagrange's method for data points (0, 1), (1, 3), (2, 12).
Evaluate at x = 1.5.
3. Interpolate using Lagrange's formula for the points (2, 4), (4, 16), (6, 36), and estimate value at x
= 5.
1. Construct the divided difference table and find the interpolating polynomial for (1, 1), (2, 4), (3, 9),
(4, 16).
2. Use Newton's divided difference method to interpolate the function values for (5, 12), (7, 19), (11,
3. Given the data: x = [1, 3, 6], f(x) = [2, 6, 19], find the divided difference polynomial and estimate
f(4).
1. Use Newton's forward difference formula to interpolate f(x) from data: x = [1, 2, 3, 4], f(x) = [1, 8,
2. Given a table x = [10, 20, 30, 40], f(x) = [100, 400, 900, 1600], find the interpolated value at x =
25.
3. Construct a forward difference table for x = [0, 1, 2, 3], f(x) = [1, 2, 5, 10], and estimate f(1.5).
Trapezoidal Rule
1. Use the trapezoidal rule to approximate Integral12 (1/x) dx using 5 equal intervals.