$${e = \sqrt{1- \left(\frac{b}{a} \right)^2}.}$$