Rocket!

Equations of Motion for the Rocket before the engines fail.
Equations of Motion after the Rocket engines fail.