13.25 problem Problem 25

Internal problem ID [2354]

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 25.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _linear, _nonhomogeneous]]

Solve \begin {gather*} \boxed {y^{\prime \prime }+4 y-9 \sin \relax (t )=0} \end {gather*} With initial conditions \begin {align*} [y \relax (0) = 1, y^{\prime }\relax (0) = -1] \end {align*}

Solution by Maple

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

dsolve([diff(y(t),t$2)+4*y(t)=9*sin(t),y(0) = 1, D(y)(0) = -1],y(t), singsol=all)
 

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

Solution by Mathematica

Time used: 0.006 (sec). Leaf size: 20

DSolve[{y''[t]+4*y[t]==9*Sin[t],{y[0]==1,y'[0]==-1}},y[t],t,IncludeSingularSolutions -> True]
 

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