Computational Physics, Linear Algebra, Python, Math, Matrix.
the second rotation. We will use the matrix: and plot the unit circle and its transformation by A: A = np.array([[3, 7], [5, 2]]) print('Unit circle:') matrixToPlot(np.array([[1, 0], [0, 1]])) plt.xlim(-1.5, 1.5) plt.ylim(-1.5, 1.5) plt.show() print('Unit circle transformed by A:') matrixToPlot(A)