Jacobi Method for Linear Systems
This program solves A x = b by the Jacobi method.
Below enter a matrix A (matrix of coefficients) and a vector of constant terms b. Enter the elements one after the other (row by row) and separate the elements by commas. For example, if the matrix A is 2 by 2 and a(1,1) = 5, a(1,2)=7, a(2,1)=9, a(2,2)=8, then enter the elements as follows: 5,7,9,8
and if b is the vector whose first element is 3 and the second is 6, then enter b as follows: 3,6
Then, enter the initial estimate x0, and after that enter the number of iterations. When you finish click the button "Solve".
Enter the matrix (A) elements one after another (row by row) (see the example above):
Enter the elements of the vector (b) one after another (see the example above):
Enter the elements of the initial vector x0 one after another (see the example above):
Enter the number of iterations: