Formula:

rmax = ro / (1-e)

Where,

rmax = Apocentre Distance of Gravitationally Bound Orbital Motion

ro = Semi Latus Rectum

e = Eccentricity