Elastic and inelastic collision, The rocket equation, Energy conservation and Law of Conservation of Linear Momentum