Search for question
Question

Problem 1: Use the Gauss-Seidel iterative method to solve the following system until the percent relative error fallsbelow ɛ, = 5%. \begin{array}{c} 10 x_{1}+2 x_{2}-x_{3}=27 \\ -3 x_{1}-6 x_{2}+2 x_{3}=-615

\\ x_{1}+x_{2}+5 x_{3}=-215 \end{array} Show all the steps of your hand calculations. Verify if the above linear system is diagonally dominant.Also, use the GaussSeidel.m M-file function discussed in class (posted on Canvas under Lecture 13) to solve the solution of the same problem using MATLAB.

Fig: 1

Fig: 2

Fig: 3

Fig: 4