Question: Please answer #4 1. Write a code in Matlab to solve a linear system of equations of any size using the simple Gauss Elimination algorithm

Please answer #4

Please answer #4 1. Write a code in Matlab to solve a

1. Write a code in Matlab to solve a linear system of equations of any size using the simple Gauss Elimination algorithm 2. Using your code in (2) to find x, y, and z for the system of equations: 3x 4y + 2z = 1 2x+3y 3z =-1 5x - 5y + 4z = 7 3. Using Gauss forward elimination, evaluate the determinant. Verify using Matlab functions. 35 2 4 1 1 -1 6 D= 2 3 5 1 4 81 4. Using your code in (2) to find x, y, and z for the system of equations below. Find the solution directly through Matlab functions and compare. How would you modify your GE algorithm to better solve this problem? x+y+z = 1 x+1.0001y + 2z = 2 x+2y + 2z = 1

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!