Internal problem ID [463]
Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and
DiPrima
Section: Section 2.1. Page 40
Problem number: 16.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
Solve \begin {gather*} \boxed {\frac {2 y}{t}+y^{\prime }-\frac {\cos \relax (t )}{t^{2}}=0} \end {gather*} With initial conditions \begin {align*} [y \left (\pi \right ) = 0] \end {align*}
✓ Solution by Maple
Time used: 0.015 (sec). Leaf size: 10
dsolve([2*y(t)/t+diff(y(t),t) = cos(t)/t^2,y(Pi) = 0],y(t), singsol=all)
\[ y \relax (t ) = \frac {\sin \relax (t )}{t^{2}} \]
✓ Solution by Mathematica
Time used: 0.04 (sec). Leaf size: 11
DSolve[{2*y[t]/t+y'[t] == Cos[t]/t^2,y[Pi]==0},y[t],t,IncludeSingularSolutions -> True]
\begin{align*} y(t)\to \frac {\sin (t)}{t^2} \\ \end{align*}