11.56 problem 69

Internal problem ID [14574]

Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section: Chapter 4. Higher Order Equations. Exercises 4.3, page 156
Problem number: 69.
ODE order: 2.
ODE degree: 1.

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

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

Solution by Maple

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

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

\[ x \left (t \right ) = \frac {\sin \left (3 t \right )}{18}-\frac {\cos \left (3 t \right ) t}{6} \]

Solution by Mathematica

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

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

\[ x(t)\to \frac {1}{18} (\sin (3 t)-3 t \cos (3 t)) \]