Question: Pseudocode FUNCTION GaussElimBackSub (A, b) AUG - [A, b] L1 - AUG (2, 1)/AUG (1, 1) L2 - AUG (3, 1)/AUG(1, 1) DOFOR i =

 Pseudocode FUNCTION GaussElimBackSub (A, b) AUG - [A, b] L1 -AUG (2, 1)/AUG (1, 1) L2 - AUG (3, 1)/AUG(1, 1) DOFORi = 1 to 4 AUG (2, 1) = AUG (2, i)

Pseudocode FUNCTION GaussElimBackSub (A, b) AUG - [A, b] L1 - AUG (2, 1)/AUG (1, 1) L2 - AUG (3, 1)/AUG(1, 1) DOFOR i = 1 to 4 AUG (2, 1) = AUG (2, i) L1 * AUG (1, 1); AUG (3, i) - AUG (3, i) L2 * AUG(1, 1); END DO L3 - AUG (3, 2)/AUG (2, 2) DOFOR i = 1 to 4 AUG (3, i) - AUG (3, i) L3 * AUG (2, 1); END DO DISPLAY AUG x3 = AUG (3, 4)/AUG (3, 3) X2 - (AUG (2, 4) AUG (2, 3) *x3)/AUG (2, 2) x1 = (AUG(1, 4) AUG(1, 2) *x2 AUG(1, 3) *x3)/AUG(1, 1) GaussElimBackSub = (x ; x ; x3] END GaussElimBack Sub Lab Work 1. Implement the Nave Gauss Elimination with Back Substitution method in MATLAB using the pseudocode provided. 2. Use the above MATLAB implementation, solve the following system of linear equations 10x1 + 2x2 - X3 - 27 -3x2 - 6x2 + 2x3 = -61.5 X1 + x2 + 5x3 = -21.5 Recall that b is a COLUMN VECTOR. Solution: 3. Use MATLAB to perform multiply A and X and notice the results. 4. Use the above MATLAB implementation, solve the following system of linear equations X1 + X2 - X3 = 10 5x1 + 5x2 + 2x3 = 20 3x + 2x2 + 5x3 = 14 Solution: x = x3 = What is the difficulty with this linear system? What are your suggestions to find the solution

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!