13.6 problem Problem 6

Internal problem ID [2844]

Book: Differential equations and linear algebra, Stephen W. Goode and Scott A Annin. Fourth edition, 2015
Section: Chapter 10, The Laplace Transform and Some Elementary Applications. Exercises for 10.4. page 689
Problem number: Problem 6.
ODE order: 1.
ODE degree: 1.

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

\[ \boxed {y^{\prime }-y=5 \sin \left (2 t \right )} \] With initial conditions \begin {align*} [y \left (0\right ) = -1] \end {align*}

Solution by Maple

Time used: 2.984 (sec). Leaf size: 19

dsolve([diff(y(t),t)-y(t)=5*sin(2*t),y(0) = -1],y(t), singsol=all)
 

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

Solution by Mathematica

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

DSolve[{y'[t]-y[t]==5*Sin[2*t],{y[0]==-1}},y[t],t,IncludeSingularSolutions -> True]
 

\[ y(t)\to e^t-\sin (2 t)-2 \cos (2 t) \]