5.7 problem 37

Internal problem ID [5908]

Book: DIFFERENTIAL EQUATIONS with Boundary Value Problems. DENNIS G. ZILL, WARREN S. WRIGHT, MICHAEL R. CULLEN. Brooks/Cole. Boston, MA. 2013. 8th edition.
Section: CHAPTER 7 THE LAPLACE TRANSFORM. 7.2.2 TRANSFORMS OF DERIVATIVES Page 289
Problem number: 37.
ODE order: 2.
ODE degree: 1.

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

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

Solution by Maple

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

dsolve([diff(y(t),t$2)+y(t)=sqrt(2)*sin(sqrt(2)*t),y(0) = 10, D(y)(0) = 0],y(t), singsol=all)
 

\[ y \left (t \right ) = 2 \sin \left (t \right )+10 \cos \left (t \right )-\sqrt {2}\, \sin \left (\sqrt {2}\, t \right ) \]

Solution by Mathematica

Time used: 0.012 (sec). Leaf size: 29

DSolve[{y''[t]+y[t]==Sqrt[2]*Sin[Sqrt[2]*t],{y[0]==10,y'[0]==0}},y[t],t,IncludeSingularSolutions -> True]
 

\begin{align*} y(t)\to 2 \sin (t)-\sqrt {2} \sin \left (\sqrt {2} t\right )+10 \cos (t) \\ \end{align*}