Code QuizIntermediate Solving a Linear System (Ax = b)
Catching the argument-order bug when solving Ax = b.
Codepython
import numpy as np
A = np.array([[3., 1.],
[1., 2.]])
b = np.array([9., 8.])
# Solve A x = b
x = np.linalg.solve(b, A)
print(x)What is the bug in this code?