Bate, Mueller, White: Fundamentals of Astrodynamics (Dover 1971), p. 29, equation 1.6-4 for the eccentricity of a satellite's orbit:
e=\sqrt{1+\frac{2\mathcal{E}h^2}{\mu^2}}
e \text{, eccentricity}
\mathcal{E} \text{, specific mechanical energy}
h \text{, magnitude of specific...