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`]]

\[ \boxed {y+y^{\prime }=5 \sin \left (2 t \right )} \]

Solution by Maple

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

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

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

Solution by Mathematica

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

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

\[ y(t)\to \sin (2 t)-2 \cos (2 t)+c_1 e^{-t} \]