Ch-4-Prob-P9-New-권의회

1889 days ago by matrix

A=matrix(QQ,5,5,[7,-2,-2,1,0,3,0,-2,1,2,12,-4,-3,2,0,6,-8,-4,6,4,1,-2,-2,1,6]) print A.charpoly() print A.eigenvalues() 
       
x^5 - 16*x^4 + 95*x^3 - 260*x^2 + 324*x - 144
[6, 4, 3, 2, 1]
x^5 - 16*x^4 + 95*x^3 - 260*x^2 + 324*x - 144
[6, 4, 3, 2, 1]