I understand how the Brachistochrone Problem works, and do understand how the friction is added to it, however I am unsure of how to use the Brachistochrone Problem for use in spacecraft.
We know that one solution to the Brachistochrone Problem is the following:
$$x=a(\theta - \sin\theta)$$
$$y=a(1 - \cos\theta).$$
Now, to further explore that idea, I'd like to ask how one could add the thrust force of a spacecraft into the equation for the optimal path taken for it to go into its orbit.