Question: Please solve in python or C++!! 5. (20 points) Using Jacobi, Gauss-Seidel and SOR (1.12) iterative methods, write and run a computer code to solve
5. (20 points) Using Jacobi, Gauss-Seidel and SOR (1.12) iterative methods, write and run a computer code to solve the following linear system to four decimal places (rounded) of accuracy. Draw a graph to show the Euclidean norms of the errors of each method against the number of iterations, and compare the convergence rate of the three iterative methods. 2][li 0-21112 |- 1-1 04-1113 2-2 6 -1 -3 Compare the mumber of iterations needed in each case. (Hint: The exact solution is
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
