Professional Documents
Culture Documents
Assignment 2 MAN-004
Assignment 2 MAN-004
Assignment 2 MAN-004
1. Solve the following linear system by Gauss elimination, with partial pivoting (3-Dplace)
X0=(1,1,1)T correct upto 3D,using (i) Gausss-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 upto 3D) taking ω=1.1,X(0)=0;
(i) 3x1 − x2 + x3 = 1, 3x1 + 6x2 + 2x3 = 0, 3x1 + 3x2 + 7x3 = 4.
(ii) 10x1 − x2 = 9, −x1 + 10x2 − 2x3 = 7, −2x2 + 10x3 =6.
Solutions:
1. (i)(0.143,0.692,−0.174)(ii)(0.375,0.289,0.269)(iii)(4.000,−1.000,0.500)
2. (1, 1, 1)
3. (a)(1.00,0.50,−0.50),(b)(2.25,−1.13,0.63)(c)(1.00,0.500,−5.00)
4. (i) (1.00, 2.00, 3.00) (ii) (1.06, 1.37, 1.96)
5. (a) (1.00, −1.00, 1.00) (b) (0.999, 1.999, 2.999) (c) (2.29, 1.97, −0.33)
6. (i) Gauss-Seidal: (3.013, 3.989, −5.003) (ii) SOR (3.0000, 4.0000, −5.0000)
7. (i) (0.054, −0.212, 0.6477) (ii) (0.98, 0.978, 0.790).