https://mathworld.wolfram.com/Apoapsis.html
Apoapsis -- from Wolfram MathWorld
The greatest radial distance of an ellipse as measured from a focus. Taking v=pi in the equation of an ellipse r=(a(1-e^2))/(1+ecosv) gives the apoapsis...
wolfram mathworldapoapsis