Quiz 5!
A quick quiz to test your knowledge on systems of linear equations.
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
Which of the codes solves the following set of equation?
A.
A = np.array([[2, 3, 1], [1, 1, -3], [1, 4, -4]])
b = np.array([-6, 10, -6])
print(np.linalg.solve(A, b))
B.
A = np.array([[1, 1, -3], [2, 3, 1], [1, 4, -4]])
b = np.array([10, -6, -6])
print(np.linalg.solve(A, b))
C.
A = np.array([[1, 1, -3], [2, 3, 1], [1, 4, -4]])
b = np.array([-6, 10, -6])
print(np.linalg.solve(A, b))
D.
A = np.array([[1, 1, -3], [1, 4, -4], [2, 3, 1]])
b = np.array([-6, 10, -6])
print(np.linalg.solve(A, b))
1 / 6
In the ...