Rocket equation with external forces