1.60 problem 60

Internal problem ID [6351]

Book: Own collection of miscellaneous problems
Section: section 1.0
Problem number: 60.
ODE order: 2.
ODE degree: 1.

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

Solve \begin {gather*} \boxed {y^{\prime \prime }-4 \sin \relax (x )+4=0} \end {gather*}

Solution by Maple

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

dsolve(diff(y(x),x$2)=4*sin(x)-4,y(x), singsol=all)
 

\[ y \relax (x ) = -2 x^{2}-4 \sin \relax (x )+c_{1} x +c_{2} \]

Solution by Mathematica

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

DSolve[y''[x]==4*Sin[x]-4,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to -4 \sin (x)+x (-2 x+c_2)+c_1 \\ \end{align*}