Assignment 2 (MAB-103)
Assignment 2 (MAB-103)
1. Solve the following linear system by Gauss elimination, with partial pivoting (3-D place)
3. Apply Crout’s and Doolittle’s method to solve the following system of equations (correct
2-D)
(i) x + y + z = 1, 4x + 3y − z = 6, 3x + 5y + 3z = 4.
(ii) 3x + 2y + 4z = 7, 2x + y + z = 4, 3x + 5y + 3z = 3.
(iii) 4x + y + z = 4, x + 4y − 2z = 4, 3x + 2y − 4z = 6.
4. Apply Jacobi Method to solve the following system of equation (correct up to 2-D)
5. Apply Gauss-Seidal Method to solve the following system of equation (correct up to 3D)
20 1 −2 x 17
(i) 3 20 −1 y = −18
2 −3 20 z 25
(ii) 10x1 − 2x2 − x3 − x4 = 3
− 2x1 + 10x2 − x3 − x4 = 15
− x1 − x2 + 10x3 − 2x4 = 27
− x1 − x2 − 2x3 + 10x4 = −9
(iii) 1.4x1 + 2.3x2 + 3.7x3 = 6.5
3.3x1 + 1.6x2 + 1.3x3 = 10.3
1.5x1 + 2.9x2 + 1.1x3 = 8.8
6. Solve the linear system Ax=b given by 4x1 +3x2 = 24, 3x1 +4x2 −x3 = 30, −x2 +4x3 = 24,
taking ω = 1.25, X0 = (1, 1, 1)T correct up to 3D, using (i) The Gauss-Seidal method (ii)
SOR method with Gauss- Seidel.
7. Find the solution of the following system of equation using SOR method with Gauss-Seidal
(correct up to 3D) taking ω = 1.1, X(0) = 0;
1
(ii) 10x1 − x2 = 9, − x1 + 10x2 − 2x3 = 7, − 2x2 + 10x3 = 6.
Answers:
(2) (1, 1, 1)