4.16 problem 17

Internal problem ID [4650]

Book: Engineering Mathematics. By K. A. Stroud. 5th edition. Industrial press Inc. NY. 2001
Section: Program 25. Second order differential equations. Further problems 25. page 1094
Problem number: 17.
ODE order: 2.
ODE degree: 1.

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

\[ \boxed {x^{\prime \prime }+2 x^{\prime }+2 x-85 \sin \left (3 t \right )=0} \] With initial conditions \begin {align*} [x \left (0\right ) = 0, x^{\prime }\left (0\right ) = -20] \end {align*}

Solution by Maple

Time used: 0.015 (sec). Leaf size: 33

dsolve([diff(x(t),t$2)+2*diff(x(t),t)+2*x(t)=85*sin(3*t),x(0) = 0, D(x)(0) = -20],x(t), singsol=all)
 

\[ x \left (t \right ) = \left (7 \sin \left (t \right )+6 \cos \left (t \right )\right ) {\mathrm e}^{-t}-6 \cos \left (3 t \right )-7 \sin \left (3 t \right ) \]

Solution by Mathematica

Time used: 0.007 (sec). Leaf size: 33

DSolve[{x''[t]+2*x'[t]+2*x[t]==85*Sin[3*t],{x[0]==0,x'[0]==-20}},x[t],t,IncludeSingularSolutions -> True]
 

\begin{align*} x(t)\to -7 \sin (3 t)-6 \cos (3 t)+e^{-t} (7 \sin (t)+6 \cos (t)) \\ \end{align*}