0% found this document useful (0 votes)
3 views2 pages

Tutorial 1 NM

Uploaded by

yavid25029
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

Tutorial 1 NM

Uploaded by

yavid25029
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Department of Mathematics & Computing, IIT (ISM) Dhanbad

B. Tech., Semester-II, Subject: Numerical Methods


Tutorial Sheet-I

1. Solve the following system by Gauss elimination

(a) 2x1 + x2 − x3 = −1, x1 − 2x2 + 3x3 = 9, 3x1 − x2 + 5x3 = 14. (Ans: x1 = 1, x2 = −1, x3 = 2)

(b) 2x1 + 2x2 + x3 + 2x4 = 7, x1 − 2x2 − x4 = 2, 3x1 − x2 − 2x3 − x4 = 3, x1 − 2x4 = 0.

(c) 2x − 3y + z = −1, x + 4y − 3z = 0, 3x − y + 4z = 13. (Ans: (1,2,3))

(d) 2y − 3z = −5, x + 4y − 7z + t = −8, 2x − y − t = −4, x + y + z = 6. (Ans: (1,2,3,4) )

2. Solve the following system by Gauss-Jordan method.

(a) x − y + 2z = 5, 3x + y − z = 2, 2x − 3y + z = −1. ‘ (Ans: (1,2,3))

(b) 2x1 + 3x2 + x3 = 13, x1 − x2 − 2x3 = −1, 3x1 + x2 + 4x3 = 15. (Ans: (3,2,1))

3. Solve the system by (a) Gauss elimination (b) Gauss-Jordan method. In both the cases, check your answers by
substituting them into the original equations
5x − 2y + z = 4, 7x + y − 5z = 8, 3x + 7y + 4z = 10

4. Determine the approximate solution by performing three iterations of Jacobi method.


x1 − 2x2 + 5x3 = 12, 5x1 + 2x2 − x3 = 6, 2x1 + 6x2 − 3x3 = 5. (Ans: (1.04, 0.71, 1.71)

5. Determine the approximate solution by performing three iterations of Gauss-Seidel method.


x − 4y + z = 5, 4x + 2y − z = 10, x + y − 4z = 0 (Ans: (1.35,1.50,3.0))

6. Solve the following systems, viz.,

(a) 10x + 2y + z = 9, 2x + 20y − 2z = −44, − 2x + 3y + 10z = 22.

(b) 17x1 + 65x2 − 13x3 + 50x4 = 84, 12x1 + 16x2 + 37x3 + 18x4 = 25, 56x1 + 23x2 + 11x3 − 19x4 =
36, 3x1 − 5x2 + 47x3 + 10x4 = 18.

by (i) Jacobi’s method, and (ii) Gauss-Seidel method. In each case, carry your computations to two decimal
places, and proceed up to 10 iterations.
(Ans: (a) x = 1, y = −2, z = 3, (b)x1 = 4.84, x2 = −4.70, x3 = −1.64, x4 = 5.72)

7. Find the solution to three decimals, of the system using Jacobi and Gauss-Seidel methods,
83x + 11y − 4z = 95, 7x + 52y + 13z = 104, 3x + 8y + 29z = 71. (Ans: x = 1.06, y = 1.37, z = 1.96)
8. Decompose the matrix  
5 −2 1
A = 7 1 −5
3 7 4
into the form LU and hence solve the system Ax = b where b = [4 8 10]T . Determine also L−1 and U −1 and
hence find A−1 .
(Ans:
   
1 0 0 5 −2 1
L = 7/5 1 0 , U = 0 19/5 −32/5  , (x = 122/109, y = 284/327, z = 46/327)).
3/5 41/19 1 0 0 327/19

9. Solve the equations by LU factorization method.

(a) 2x − y + z = 3, x + y + z = 6, 3x + y − z = 2. (Ans: (1,2,3))

(b) x1 + x2 + 2x3 = 4, 3x1 + x2 − 3x3 = −4, 2x1 − 3x2 − 5x3 = −5 (Ans: (1,-1,2))

You might also like