Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Answer:
Gauss Siedel
x1 x2 x3
JACOBI
x1 x2 x3
EXPLANATION:
For GS method, the values of X’s were changed even during the same iteration.
Instead of defining a tolerance value, I have used the concept that if 3 iteration contains the same
value, the cursor exits from the loop.
QUESTION 2:
ANSWER:
Please, have a look in MS-excel file called “Book1” in the same folder
EXPLANATION:
ANSWER:
x1 x2 x3
EXPLANATION:
Using SOR we have reduced the steps to 26 from initial which was 42(without SOR). Also, the pic
uploaded in the same folder gives us a clear idea that using SOR, how fast the error reduces after 2-3
iterations in comparison to that of general Gauss-Siedel or Jacobian.