20.1.25 problem Problem 33

Internal problem ID [3582]
Book : Differential equations and linear algebra, Stephen W. Goode and Scott A Annin. Fourth edition, 2015
Section : Chapter 1, First-Order Differential Equations. Section 1.2, Basic Ideas and Terminology. page 21
Problem number : Problem 33
Date solved : Monday, January 27, 2025 at 07:46:34 AM
CAS classification : [_quadrature]

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

Solution by Maple

Time used: 0.000 (sec). Leaf size: 10

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

Solution by Mathematica

Time used: 0.004 (sec). Leaf size: 12

DSolve[D[y[x],x]==Sin[x],y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to -\cos (x)+c_1 \]