You are on page 1of 2

Class Task

Jacobi's Method
When values of X Y and Z initiate with ‘0’
X Y Z
1st Iteration: 17.5 19.375 -6.5
2nd Iteration: 15.35416 13.0625 10
3rd iteration: 13.65625 7.94792 6.40208
4th Iteration: 15.108333 10.146095 3.507293
5th Iteration: 15.24435 10.505598 5.1126045
6th Iteration: 14.896966 9.835598 5.324414
7th Iteration: 14.97333 9.92986 4.88272
8th Iteration: 15.03123 10.05731 4.95860
9th Iteration: 14.99734 9.99991 5.03853
10th Iteration: 14.99359 9.98688 4.99863
11th Iteration: 15.00241 10.00371 4.991542
12th Iteration: 15.00079 10.00196 5.002689

Gauss Seidel Method


When values of X Y and Z initiate with ‘0’ and update values are used
in same iteration
X Y Z
1st Iteration: 17.5 10.625 6.5
2nd Iteration: 14.64583 9.61458 4.6687
3rd iteration: 15.11945 10.06451 5.08552
4th Iteration: 14.97499 9.98043 4.97966
5th Iteration: 15.00665 9.97437 4.993073
6th Iteration: 15.0054 9.99989 5.002656
7th Iteration: 14.99957 9.99921 4.99946

You might also like