Question: Solve the following simultaneous equations using the Gauss elimination method: x + 2x2 x3 + x4 +5x3 = 8 4x; 2x2 + 3x2 + x4

Solve the following simultaneous equations using the Gauss elimination method: x + 2x2 x3 + x4 +5x3 = 8 4x; 2x2 + 3x2 + x4 3x3 = 4 3x, + x2 + 2x, X. +7x3 = -15 2x + 3x2 + 5x2 + 7x4 5x3 = 8 9x + x2 + x3 +7x4 xs = 10 1) Modify the function given in Figure 9.4 to solve this problem in one single program (not using the function). 2) Use the Matlab function inv(A)" to solve this problem and compare your result with the one obtained from 1). Solve the following simultaneous equations using the Gauss elimination method: x + 2x2 x3 + x4 +5x3 = 8 4x; 2x2 + 3x2 + x4 3x3 = 4 3x, + x2 + 2x, X. +7x3 = -15 2x + 3x2 + 5x2 + 7x4 5x3 = 8 9x + x2 + x3 +7x4 xs = 10 1) Modify the function given in Figure 9.4 to solve this problem in one single program (not using the function). 2) Use the Matlab function inv(A)" to solve this problem and compare your result with the one obtained from 1)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
