Compute the eigenvalues of a square 2-by-2 matrix.

Download this demo on ATOMS.