Question: Edit the PYTHON code to take user input for the 3x3 matrix A and will still solve for x . No need to change matrix

Edit the PYTHON code to take user input for the 3x3 matrix A and will still solve for x. No need to change matrix b.
14 12 det runTaski(): A = np.array([[3, 2, 1], [4, 5, 2], [1, 3, ]], dtype=float) In [1]: b = np.array([10, 20, 28), dtype=float) L, U = LU(A) x = LUsolve(L, U, b) print("L is ", L) print("U is ", u) print("x is ", x)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
