Linear Algebra, Mathematics, Data Analysis, Python, Computer Science.
the results print("Eigenvalues:", lambdas) print("Eigenvectors:\n", eigenvectors) Eigenvalues: [-0.37228132 5.37228132] Eigenvectors: [[-0.82456484 -0.41597356] [ 0.56576746 -0.90937671]] import numpy as np import matplotlib.pyplot as plt # Define matrix A A = np.array([[3, 1], [2, 4]]) # Calculate