Question: Write a MATLAB function that performs the Successive Over-Relaxation method considering Ax=b. x = SOR(A,b,x0,omega,tol,maxn). x0 is the initial guess. omega is the relaxation parameter,

Write a MATLAB function that performs the Successive Over-Relaxation method considering Ax=b.

x = SOR(A,b,x0,omega,tol,maxn).

x0 is the initial guess. omega is the relaxation parameter, typically larger than 1.

tol is the tolerance for the stopping. Use the relative error.

maxn is the maximum number of iterations allowed.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!