Question: Solve it as a Matlab program. 5. Consider the following lincar system of equations: 4x1x2x1+4x2x3x2+4x3+4x4x5x4+4x5x6x5+4x6=0=5=0=6=2=6 a) First, store the coefficients and constants as .txt or

 Solve it as a Matlab program. 5. Consider the following lincar

Solve it as a Matlab program.

5. Consider the following lincar system of equations: 4x1x2x1+4x2x3x2+4x3+4x4x5x4+4x5x6x5+4x6=0=5=0=6=2=6 a) First, store the coefficients and constants as .txt or .dat files. Load those data in two matrices named "A" and " b " and then find the exact solution of the system using Gaussian elimination with backward substitution. b) Check whether "A" is positive definite or not. If so, then solve the above system. correct up to 4 decimal places, with initial guess x0=(0,0,0,0,0,0) using: (i) Jacobi iterative method. (ii) Gauss-Seidel iterative method. (iii) SOR iterative method with =1.1. c) Create a table showing the comparison of the methods in (b) with headings as follows: "Exact Solution", "Jacobi", "G-S", "SOR", "Total iterations for Jacobi", "Total iterations for G-S", "Total iterations for SOR

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!