Internal problem ID [2485]
Book: Ordinary Differential Equations, Robert H. Martin, 1983
Section: Problem 1.2-3, page 12
Problem number: 1.2-3 (d).
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {y^{\prime }+\cot \left (t \right ) y=6 \cos \left (t \right )^{2}} \] With initial conditions \begin {align*} \left [y \left (\frac {\pi }{4}\right ) = 3\right ] \end {align*}
✓ Solution by Maple
Time used: 0.031 (sec). Leaf size: 18
dsolve([diff(y(t),t)=-cot(t)*y(t)+6*cos(t)^2,y(1/4*Pi) = 3],y(t), singsol=all)
\[ y \left (t \right ) = -2 \csc \left (t \right ) \left (\cos \left (t \right )^{3}-\sqrt {2}\right ) \]
✓ Solution by Mathematica
Time used: 0.06 (sec). Leaf size: 23
DSolve[{y'[t]==-Cot[t]*y[t]+6*Cos[t]^2,y[Pi/4]==3},y[t],t,IncludeSingularSolutions -> True]
\[ y(t)\to 2 \sqrt {2} \csc (t)-2 \cos ^2(t) \cot (t) \]