Find the eigenvalues of the upper triangular matrix:

Generalize your result to prove analytically that the eigenvalues of any triangular matrix are its diagonal elements. (Hint: Use the previously derived result in P1 for the expression of the determinant of a triangular matrix.)