1.1 problem Example 3

Internal problem ID [1644]

Book: Differential equations and their applications, 3rd ed., M. Braun
Section: Section 1.2. Page 6
Problem number: Example 3.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

\[ \boxed {y^{\prime }+\sin \left (t \right ) y=0} \] With initial conditions \begin {align*} \left [y \left (0\right ) = {\frac {3}{2}}\right ] \end {align*}

Solution by Maple

Time used: 0.016 (sec). Leaf size: 11

dsolve([diff(y(t),t)+sin(t)*y(t)=0,y(0) = 3/2],y(t), singsol=all)
 

\[ y \left (t \right ) = \frac {3 \,{\mathrm e}^{\cos \left (t \right )-1}}{2} \]

Solution by Mathematica

Time used: 0.031 (sec). Leaf size: 15

DSolve[{y'[t]+Sin[t]*y[t]==0,y[0]==3/2},y[t],t,IncludeSingularSolutions -> True]
 

\[ y(t)\to \frac {3}{2} e^{\cos (t)-1} \]