Internal problem ID [1970]
Book: Ordinary Differential Equations, Robert H. Martin, 1983
Section: Problem 1.2-2, page 12
Problem number: 1.2-2 (d).
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {y^{\prime }+\tan \left (t \right ) y-\sec \left (t \right )=0} \] With initial conditions \begin {align*} [y \left (0\right ) = 0] \end {align*}
✓ Solution by Maple
Time used: 0.015 (sec). Leaf size: 6
dsolve([diff(y(t),t)=-tan(t)*y(t)+sec(t),y(0) = 0],y(t), singsol=all)
\[ y \left (t \right ) = \sin \left (t \right ) \]
✓ Solution by Mathematica
Time used: 0.041 (sec). Leaf size: 7
DSolve[{y'[t]==-Tan[t]*y[t]+Sec[t],y[0]==0},y[t],t,IncludeSingularSolutions -> True]
\begin{align*} y(t)\to \sin (t) \\ \end{align*}