Question: 2. (30 pts) (Problem 9.11): Given the system of equations -3X2 + 7X3-2 x1 + 2x2-x3 3 5x1-2x22 a) Write the equations into the format

2. (30 pts) (Problem 9.11): Given the system of equations -3X2 + 7X3-2 x1 + 2x2-x3 3 5x1-2x22 a) Write the equations into the format of Ax = b; b) Compute the determinant of A using the function you wrote in problem 1.c; c) Write a MATLAB function using Cramer's rule to solve x1, X2, and x; d) Write a MATLAB function using Gauss elimination to solve xi, X2, and x3; e) Write a general MATLAB function to check if the solution you got in part c and d is actually the solution of the given equations
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
