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

Class Task: Jacobi's Method When Values of X Y and Z Initiate With 0' X Y Z

The document describes two iterative methods, Jacobi's Method and Gauss Seidel Method, for solving systems of equations. Jacobi's Method calculates new values for each variable using the previous iteration's values for the other variables, taking multiple iterations to converge. The Gauss Seidel Method updates the values in the same iteration, converging faster by using the newly calculated values in subsequent calculations. Sample calculations are shown for both methods over multiple iterations converging the values of variables X, Y, and Z.

Uploaded by

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

Class Task: Jacobi's Method When Values of X Y and Z Initiate With 0' X Y Z

The document describes two iterative methods, Jacobi's Method and Gauss Seidel Method, for solving systems of equations. Jacobi's Method calculates new values for each variable using the previous iteration's values for the other variables, taking multiple iterations to converge. The Gauss Seidel Method updates the values in the same iteration, converging faster by using the newly calculated values in subsequent calculations. Sample calculations are shown for both methods over multiple iterations converging the values of variables X, Y, and Z.

Uploaded by

kashfmalik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 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