A method of determining the optimal thrust routine for a rocket engine to produce maximum altitudes for a two-stage launch vehicle. Assuming a flat earth and constant gravitational field, constant and exponential atmospheric densities are considered....