I have found eigenvalues of a 2x2 matrix A, these are displayed in a vector. eg.
a + sqrt(b)
a - sqrt(b)
Is there any way I can write code which will find the difference between them? At the moment I'm doing it manually and it is taking a lot of time as I have many matrices.