10.3 problem 7(c)

Internal problem ID [10459]

Book: A First Course in Differential Equations by J. David Logan. Third Edition. Springer-Verlag, NY. 2015.
Section: Chapter 2, Second order linear equations. Section 2.3.2 Resonance Exercises page 114
Problem number: 7(c).
ODE order: 2.
ODE degree: 1.

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

\[ \boxed {x^{\prime \prime }+3025 x-\cos \left (45 t \right )=0} \] With initial conditions \begin {align*} [x \left (0\right ) = 0, x^{\prime }\left (0\right ) = 0] \end {align*}

Solution by Maple

Time used: 0.063 (sec). Leaf size: 17

dsolve([diff(x(t),t$2)+(55)^2*x(t)=cos(45*t),x(0) = 0, D(x)(0) = 0],x(t), singsol=all)
 

\[ x \left (t \right ) = -\frac {\cos \left (55 t \right )}{1000}+\frac {\cos \left (45 t \right )}{1000} \]

Solution by Mathematica

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

DSolve[{x''[t]+55^2*x[t]==Cos[45*t],{x[0]==0,x'[0]==0}},x[t],t,IncludeSingularSolutions -> True]
 

\begin{align*} x(t)\to \frac {\cos (45 t)-\cos (55 t)}{1000} \\ \end{align*}