Internal problem ID [518]
Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and
DiPrima
Section: Section 2.4. Page 76
Problem number: 3.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {\tan \left (t \right ) y+y^{\prime }=\sin \left (t \right )} \] With initial conditions \begin {align*} [y \left (\pi \right ) = 0] \end {align*}
✓ Solution by Maple
Time used: 0.016 (sec). Leaf size: 17
dsolve([tan(t)*y(t)+diff(y(t),t) = sin(t),y(Pi) = 0],y(t), singsol=all)
\[ y \left (t \right ) = \left (-\ln \left (\cos \left (t \right )\right )+i \pi \right ) \cos \left (t \right ) \]
✓ Solution by Mathematica
Time used: 0.073 (sec). Leaf size: 20
DSolve[{Tan[t]*y[t]+y'[t] == Sin[t],y[Pi]==0},y[t],t,IncludeSingularSolutions -> True]
\[ y(t)\to i \cos (t) (\pi +i \log (\cos (t))) \]