USING MATLAB USING MATLAB One of the two systems of equation
!!!!USING MATLAB!!!!
!!!!USING MATLAB!!!!!!!!
One of the two systems of equations below does not have a solution. Which one is it? Demonstrate how you determine your answer in a script M-file. Print the solution for other system, using fprintf 6x_1 + 3x_2 + 9x_3 + 9x_4 = 48 8x_1 - 7x_2 + x_3 = -62 -7x_1 - 4x_2 - 11x_3 + 6x_4 = 91 8x_1 + x_2 + 9x_3 - 6x_4 = -107 6x_1 + 3x_2 + 9x_3 + 9x_4 = 48 8x_1 - 7x_2 + x_3 = -62 -7x_1 - 4x_2 - 11x_3 + 6x_4 = 91 8x_1 + x_2 + 9x_3 - 6x_4 = -107Solution
Ans : The first system of eauations have no solution, both the system of equations are same, only the slight difference between second equation\'s cofficient change the nature of both the systems:
This Matlab code to solve the equations can solve your problem:
syms x1 x2 x3 x4
 eqn1 = 6*x1 + 3*x2 + 9*x3 + 9x4== 48;
 eqn2 = 8*x1-7*x2+x3 == -62;
 eqn3 = -7*x1 - 4*x2-11*x3+6*x4 == 91;
 enq4 = 8x1 + x2 + 9*x3-6*x4 == -107;
 sol = solve([eqn1, eqn2, eqn3,eqn4], [x1,x2,x3,x4]);
 x1Sol = sol.x1
 x2Sol = sol.x2
 x3Sol = sol.x3
 x4sol = sol.x4
Above code can help you to calculate the solutions, change the cofficients to solve other system of equations,
Have a good day!!

