Assignment 4
Assignment 4
1. Perform five iterations of the bisection method to obtain the smallest positive root of the equation
f (x) = x3 5x + 1 = 0.
2. Using Newton-Raphson Method find an iterative scheme to compute the cube root of a positive number.
1
10. Without changing the order solve the following system of linear equations
2x1 + x2 + 6x3 = 9
8x1 + 3x2 + 2x3 = 13
x1 + 5x2 + x3 = 7
using initial approximation (x1 , x2 , x3 ) = (0, 0, 0) and show that both Gauss-Jacobi and Gauss-Seidel
methods diverges.
11. Solve the system of linear equations
4x1 + x2 + x3 = 2
x1 + 5x2 + 2x3 = 6
x1 + 2x2 + 3x3 = 4
using Gauss-Jacobi method with the initial approximation as x(0) = [0.5, 0.5, 0.5]T and perform three
iterations (using matrix form).
12. Solve the following system of linear equations
2x1 x2 = 7
x1 + 2x2 x3 = 1
x2 + 2x3 = 1
using Gauss-Seidel method with the initial approximation as x(0) = [0, 0, 0]T and perform three iterations
(using matrix form).