The motion of an object is being described by the equation \begin{align*} m\frac{dv(t)}{dt} = mg - \gamma v(t).\end{align*} Determine the solutions of this equation for the paramters: $m=10kg, \gamma = 2kg/s$ and $g= 9.81$, with the following given initial conditions $v(0) = -10,20,30,70$ and $90$ (metes per second).
How should I do that with Maple? I tried this:
Dvgl:=diff(10*v(t),t)=10*9.81-2*v(t);
bvw:=v(0)=-10,20,30,70,90;
dsolve({Dvgl,bvw},v(t));
But then I just get an error: "Found the following equations not depending on the unknowns of the inputsystem: {20,30,70,90}.
Everything works fine with one initial condition, but how can I make it work for several?
Replace the definition of
bvwbyand then use: