F = −\frac{GMm}{R^{2} + A^{2}}

E_{tot} = −\frac{GMm}{R} + \frac{1}{2}mv^{2}

\begin{aligned}If R < R_{crit}, y_{i+1} & = −y_{i} \\ v_{i+1} & = v_{i} \end{aligned}