{%hackmd 5xqeIJ7VRCGBfLtfMi0_IQ %} # Find the determinant ## Problem Run the SageMath code below or simply click [here](https://sagecell.sagemath.org/?q=equyjk). ```python= load("https://raw.githubusercontent.com/jephianlin/LA-notebook/main/lingeo.py") ### code set_random_seed(None) n = 4 while True: A = matrix(n, random_int_list(n^2, 3)) if A.det() != 0: break print("A =") pretty_print(A) print("determinant of A =", A.det()) ``` Replace `None` with your favorite number and run the code again. The outcome is a matrix $A$. What is $\det(A)$? Calculate the determinant of $A$ and check your answer with the output. *This note can be found at Course website > Learning resources.*