﻿With the eigenvalues (D) command, it is possible to calculate the eigenvalues of a matrix D, if its elements are [2,-1], [-1,1]; obtaining as a result [[-(sqrt(5)-3)/2,(sqrt(5)+3)/2],[1,1]]