I would like to derive the Rocket Equation from Classical Mechanics in Maple.
I will do the case of zero external force: $$F^{ext}=0=m(t)\frac{dv}{dt}-u \frac{dm}{dt}$$ where u is the velocity of the exhaust relative to the rocket, v is the velocity of the rocket, and m is the mass of the rocket. $$m(t)\frac{dv}{dt}=u\frac{dm}{dt}$$ $$um(t)^{-1}dm=dv$$ $$\int_{v(t_0)}^{v(t_f)}dv=\int_{m_0}^{m_f}um(t)^{-1}dm$$ $$v(t_f)=v(t_0)+u\ln{\frac{m_f}{m_0}}$$
In Maple
RE := 0 = m(t)*diff(v(t), t) - u*diff(m(t), t);
The question is, how do I get Maple to solve this differential equation as it is solved above?
dsolve(RE);
Error, (in dsolve) Required a specification of the indeterminate function
Your equation has both
m(t)andv(t).You seem to expect that Maple ought to be able to somehow know that you want a solution for
v(t)in terms ofm(t), instead of the reverse.The
dsolvecommand can be called with a second argument that specifies the indeterminate function, ie the unknown function oft. But your call todsolvedoes not supply that. The error message occurs because of the ambiguity.