\frac{d}{dt}(mv)=m\frac{dv}{dt}+v\frac{dm}{dt}