Internal problem ID [5156]
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: 14.
ODE order: 2.
ODE degree: 1.
CAS Maple gives this as type [[_2nd_order, _linear, _nonhomogeneous]]
\[ \boxed {x^{\prime \prime }-3 x^{\prime }+2 x=\sin \left (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: 23
dsolve([diff(x(t),t$2)-3*diff(x(t),t)+2*x(t)=sin(t),x(0) = 0, D(x)(0) = 0],x(t), singsol=all)
\[ x \left (t \right ) = \frac {{\mathrm e}^{2 t}}{5}+\frac {3 \cos \left (t \right )}{10}+\frac {\sin \left (t \right )}{10}-\frac {{\mathrm e}^{t}}{2} \]
✓ Solution by Mathematica
Time used: 0.048 (sec). Leaf size: 27
DSolve[{x''[t]-3*x'[t]+2*x[t]==Sin[t],{x[0]==0,x'[0]==0}},x[t],t,IncludeSingularSolutions -> True]
\[ x(t)\to \frac {1}{10} \left (e^t \left (2 e^t-5\right )+\sin (t)+3 \cos (t)\right ) \]