Question: Successive Overrelaxation (SOR) Methoo 3. (20 points) Write a computer code for the SOR algorithm. Test the program using the example in computer problem 2.5.1.


Successive Overrelaxation (SOR) Methoo 3. (20 points) Write a computer code for the SOR algorithm. Test the program using the example in computer problem 2.5.1. In particular, use n = 100 as the dimension make use of the sparsity of the matrix terminate the iterations when k)- 10-6. test the effect of w by using different values and checking the number of steps needed to get convergence compare the speed of convergence to that of the Jacobi and Gauss-Seidel methods attach the code Successive Overrelaxation (SOR) Methoo 3. (20 points) Write a computer code for the SOR algorithm. Test the program using the example in computer problem 2.5.1. In particular, use n = 100 as the dimension make use of the sparsity of the matrix terminate the iterations when k)- 10-6. test the effect of w by using different values and checking the number of steps needed to get convergence compare the speed of convergence to that of the Jacobi and Gauss-Seidel methods attach the code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
