Internal problem ID [2472]
Book: Ordinary Differential Equations, Robert H. Martin, 1983
Section: Problem 1.2-1, page 12
Problem number: 1.2-1 (f).
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {t y^{\prime }+2 y=\sin \left (t \right )} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 17
dsolve(t*diff(y(t),t)+2*y(t)=sin(t),y(t), singsol=all)
\[ y \left (t \right ) = \frac {\sin \left (t \right )-\cos \left (t \right ) t +c_{1}}{t^{2}} \]
✓ Solution by Mathematica
Time used: 0.034 (sec). Leaf size: 19
DSolve[t*y'[t]+2*y[t]==Sin[t],y[t],t,IncludeSingularSolutions -> True]
\[ y(t)\to \frac {\sin (t)-t \cos (t)+c_1}{t^2} \]