60.1.7 problem 7

Internal problem ID [10021]
Book : Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section : Chapter 1, linear first order
Problem number : 7
Date solved : Monday, January 27, 2025 at 06:18:32 PM
CAS classification : [_linear]

\begin{align*} y^{\prime }+y \cos \left (x \right )-{\mathrm e}^{-\sin \left (x \right )}&=0 \end{align*}

Solution by Maple

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

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

Solution by Mathematica

Time used: 0.153 (sec). Leaf size: 53

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