19.5 problem 5

Internal problem ID [14897]

Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section: Chapter 5. Applications of Higher Order Equations. Exercises 5.1, page 232
Problem number: 5.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _missing_x]]

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

Solution by Maple

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

dsolve([diff(x(t),t$2)+x(t)=0,x(0) = 3, D(x)(0) = -4],x(t), singsol=all)
 

\[ x \left (t \right ) = -4 \sin \left (t \right )+3 \cos \left (t \right ) \]

Solution by Mathematica

Time used: 0.011 (sec). Leaf size: 14

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

\[ x(t)\to 3 \cos (t)-4 \sin (t) \]