Question: USING MATLAB CODE: Find the solution to the system of equations with coefficient matrix a shown below and vector answer b = [24; -16; 0;

USING MATLAB CODE:

Find the solution to the system of equations with coefficient matrix a shown below and vector answer b = [24; -16; 0; 18; 5] by using Jacobi and Gauss-Seidel iterative methods and compare the answer with the solution of x = a\b. Compare the two methods results with respect to the build-in solution using the formula of the relative error.

a = [5,2,3,4,1;3,0,6,5,4;2,4,2,3,1;0,0,0,6,5;0,0,0,5,6];

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!