This problem requires MATLab Find the solution to the system

*This problem requires MATLab*

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 Gauss 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]

Solution

**solution of linear equations with gauss elimination
6.1667
-3.1780
-8.4015
7.5455
-5.4545

**not applicable for solution with gauss seidel asone of the diagonal element is zero

**solution with matlab functions(for checking):
6.1667
-3.1780
-8.4015
7.5455
-5.4545

**Error is 0%

*This problem requires MATLab* Find the solution to the system of equations with coefficient matrix a shown below and vector answer b = [24; -16; 0; 18; 5] by u

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site