import numpy as np from scipy.linalg import eig A = ((5, 2),(2, 1)) A = np.array(A) e1, e2= eig(A) print(e1)