Professional Documents
Culture Documents
Coursework 2
Coursework 2
3. Solve the following set of simultaneous linear equations using the Gauss-Jacobi’s method. Check first
if the linear equations were diagonally dominant. Terminate at 15 iterations and check if the absolute
error is 0.0001.
5x -2y + z = -10
-2x +7y + 3z = 8
4x -3y + 8z = 14
4. Solve the following system of simultaneous linear equations using the Gauss-Seidel method. Check
first if the linear equations were diagonally dominant. Terminate at 10 iterations and check if the
absolute error is 0.0001.
5x -2y + z = -10
-2x +7y + 3z = 8
4x -3y + 8z = 14