1.60 problem 60

Internal problem ID [7104]

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]]

\[ \boxed {y^{\prime \prime }=4 \sin \left (x \right )-4} \]

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 \left (x \right ) = -2 x^{2}-4 \sin \left (x \right )+c_{1} x +c_{2} \]

Solution by Mathematica

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

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

\[ y(x)\to -2 x^2-4 \sin (x)+c_2 x+c_1 \]