eigenvals takes as argument a square
matrix A of size n.
eigenvals returns the sequence of the n eigenvalues of A.
Remark: If A is exact, Xcas may not be able
to find the exact roots of the characteristic polynomial,
eigenvals will return approximate eigenvalues of A if the
coefficients are numeric or a subset of the eigenvalues if the
coefficients are symbolic.
Input:
Output:
Input:
Output: