Aim of the applet
Solve equations systems by iterative methods.
Implemented methods: Jacobi, Gauss-Seidel and Relaxation.
Input data
- Coefficient matrix, A.
- The right side vector, b.
- Maximum number of steps.
- Tolerance.
- Initial approximation of the solution.
- The parameter "w" for the method of relaxation.
The Calculate button will make the resolution of the system by the methods of Jacobi, Gauss-Seidel and Relaxation.
The user may specify the order of the matrix, as well as create a random matrix A
and a random right side vector b by clicking in "Random Matrix" button.
In the Options menu, can choose the size of cells.
Output data
The applet will show, for each method, the following information:
- The matrix of the method and the vector of the method.
- Intermediate result table and relative errors calculated with norm 2.
- Solution obtained.
- Graphical representation of error obtained for each method.
If any of the data has been entered wrong in the input matrix,
this will be highlighted with a red border.
The applet also notify the user if you enter a value of "w" not between 0 and 2.
First steps
- Write the ecuations system:
4x + 3y = 24
3x + 4y - z = 30
- y + 4z =-24
Try with different errors and different number of iterations.
Note that method converges faster to the solution.
If the methods do not converge, what happens?.