Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started