77.1.3 problem 1 (c) (page 9)

Internal problem ID [17893]
Book : V.V. Stepanov, A course of differential equations (in Russian), GIFML. Moscow (1958)
Section : All content
Problem number : 1 (c) (page 9)
Date solved : Tuesday, January 28, 2025 at 11:09:49 AM
CAS classification : [[_2nd_order, _quadrature]]

\begin{align*} y^{\prime \prime }&=\sin \left (x \right ) \end{align*}

Solution by Maple

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

dsolve(diff(y(x),x$2)=sin(x),y(x), singsol=all)
 
\[ y = -\sin \left (x \right )+c_{1} x +c_{2} \]

Solution by Mathematica

Time used: 0.005 (sec). Leaf size: 16

DSolve[D[y[x],{x,2}]==Sin[x],y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to -\sin (x)+c_2 x+c_1 \]