DSolve Function of Mathematica
DSolve Function of Mathematica
That is the general solution. Maple uses _C1 instead of c for the constant of integration.
Here is how you specify an initial value e.g. to obtain a particular solution.
> dsolve( {de,y(0)=5}, y(t) );
> NLC;
Notice that dsolve returns the solution as an equation. To graph the solution we need to
extract the right-hand-side of the equation.
> plot( rhs(sol), t=0..30, y=0..70 );
This plot together with the field plot can be generated using the DEplot command in the
DEtools package.
> with(DEtools);
> initTemps := [T(0)=10, T(0)=20, T(0)=40, T(0)=60];
> a := 0.01;
Ym := 20;
> c o l s : = [blue,green,black,cyan,navy];