I want to know more... How does one know one is in orbit? How do you work out when to fire you thrusters to leave orbit and head towards something like the moon?
As we learned in the Hidden Figures (I did anyway) the math is Euler’s method of iteration. So a desired variable (location of touchdown!) is fixed and then the inputs iterated until a successful set of inputs are found.