1.11 problem 11

Internal problem ID [458]

Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and DiPrima
Section: Section 2.1. Page 40
Problem number: 11.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_linear, class A]]

Solve \begin {gather*} \boxed {y+y^{\prime }-5 \sin \left (2 t \right )=0} \end {gather*}

Solution by Maple

Time used: 0.002 (sec). Leaf size: 21

dsolve(y(t)+diff(y(t),t) = 5*sin(2*t),y(t), singsol=all)
 

\[ y \relax (t ) = \sin \left (2 t \right )-2 \cos \left (2 t \right )+{\mathrm e}^{-t} c_{1} \]

Solution by Mathematica

Time used: 0.072 (sec). Leaf size: 24

DSolve[y[t]+y'[t] == 5*Sin[2*t],y[t],t,IncludeSingularSolutions -> True]
 

\begin{align*} y(t)\to \sin (2 t)-2 \cos (2 t)+c_1 e^{-t} \\ \end{align*}