Question: In python please 4. Use matrices to solve the following three simultaneous equations. Set up the equations in the format [A][X]=[B] and solve the equations
4. Use matrices to solve the following three simultaneous equations. Set up the equations in the format [A][X]=[B] and solve the equations using [X]=[A] '[B]. Use your matmult function to do the multiplication. You may use the built-in PYTHON function for taking the inverse of a matrix. ( inverse = np.linalg.inv(x) ) 3a + 4b = 12 4a + 10b =23 x + 2y + 4z = 11 4x - 2y + z = 8 2x +5y +2z=3 X, + x2 + 3x4 = 4 2x + x2 - X3 + x4 = 1 3x, - X2 - X3 +2x4 = -3 -X, +2x2 + 3x3 X4 = 4 - =
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
