73.4.8 problem 5.1 (h)

Internal problem ID [15090]
Book : Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell. second edition. CRC Press. FL, USA. 2020
Section : Chapter 5. LINEAR FIRST ORDER EQUATIONS. Additional exercises. page 103
Problem number : 5.1 (h)
Date solved : Tuesday, January 28, 2025 at 07:30:22 AM
CAS classification : [_separable]

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

Solution by Maple

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

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

Solution by Mathematica

Time used: 0.028 (sec). Leaf size: 25

DSolve[D[y[x],x]==y[x]*Sin[x],y[x],x,IncludeSingularSolutions -> True]
 
\begin{align*} y(x)\to c_1 \exp \left (\int _1^x\sin (K[1])dK[1]\right ) \\ y(x)\to 0 \\ \end{align*}