Assignment 2 1
Assignment 2 1
1. Use Jacobi method to solve the following system of equations with x(0) = (1, 1, 1)T
as an initial approximation correct to 2 significant figures.
x − 10y + 3z = 39
10x − 2y − 5z = 26
4x − 5y + 10z = 47
What is the minimum number of iterations required to get 5 significant digit accu-
racy in the above system of equations.
[True solution: (3, −3, 2)T , no.of iteration required=36]
−2x + 3y + 10z = 22
10x + 2y + z = 9
x + 10y − z = −22
with x(0) = (1, −1, 1)T as starting vector. What is the minimum number of iterations
required, so that the solution is correct to 4 decimal places.
[True solution: (1, −2, 3)T , no.of iteration required=17]
3. Solve by Gauss-Seidal method, the following system of linear equations correct upto
four significant figures.
3x + 9y − 2z = 11
4x + 2y + 13z = 24
4x − 2y + z = −8