Assignment (C S)
Assignment (C S)
2024
(i) 𝑥 4 − 𝑥 − 10 = 0
(ii) 𝑥 − 𝑒 −𝑥 = 0
Determine the initial approximation to find the smallest positive root. Use these to find the roots
correct to three decimal places with the following methods:
(a) Bisection Method
(b) The Regula-Falsi Method
(c) The Secant Method
(d) The Newton-Raphson Method
2x+ y+ 3z = 1
4x-3y +5z = -7
-3x+ 2y+4z = -3
using Gauss Jordan Method.
Q 4. Solve the following system of equations AX= b where
2 2 1 1
A =[4 2 3], b = [2]
1 1 1 3
by Gauss elimination method using partial pivoting.
-3x+ y+ 0z = -2
2x-3y +z = 0
0x+2y-3z = -1
Take the initial approximation as (𝑥, 𝑦, 𝑧) = (0, 0, 0).
Q. 6 Perform three iterations of Jacobi method to solve the linear system
2x- y = 1
-x+2y -z = 0
-y+2z-w = 0
-z+2w = 1
Take the initial approximation as (𝑥, 𝑦, 𝑧) = (0.5, 0.5, 0.5, 0.5).
Use Newton divided difference formula to calculate the interpolating polynomial and
give an estimate for 𝑓(5) .
Q 8. Consider the following table:
𝑥 -1 2 4 5
𝑓(x) -5 13 255 625
Q 10. Construct the interpolating polynomial by using Gregory- Newton backward difference
interpolation formula for the given data:
𝑥 0 0.5 1 3.5
Y 1 2 1 0
Calculate the difference between the exact value and the approximate value.
Q. 15 Apply Midpoint method to find approximate solution of the initial value problem
ⅆ𝑦
= y + x, 𝑦(0) = 1, 0 ≤ 𝑥 ≤ 0.3, ℎ = 0.1 .
ⅆ𝑥
Q 16. Apply Euler’s method to find approximate solution of the initial value problem
ⅆ𝑦 𝑥−𝑦
= , 𝑦(0) = 1, 0 ≤ 𝑥 ≤ 3, ℎ = 0.5 .
ⅆ𝑥 2
using the Heun’s method with ℎ = 0.1. Compare with exact solution.
Note: Last date to submit this assignment is 01/05/2024.