Internal problem ID [5101]
Book: Engineering Mathematics. By K. A. Stroud. 5th edition. Industrial press Inc. NY.
2001
Section: Program 24. First order differential equations. Further problems 24. page
1068
Problem number: 15.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {y^{\prime }+y \cot \left (x \right )=5 \,{\mathrm e}^{\cos \left (x \right )}} \] With initial conditions \begin {align*} \left [y \left (\frac {\pi }{2}\right ) = -4\right ] \end {align*}
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 14
dsolve([diff(y(x),x)+y(x)*cot(x)=5*exp(cos(x)),y(1/2*Pi) = -4],y(x), singsol=all)
\[ y \left (x \right ) = -5 \,{\mathrm e}^{\cos \left (x \right )} \csc \left (x \right )+\csc \left (x \right ) \]
✓ Solution by Mathematica
Time used: 0.1 (sec). Leaf size: 16
DSolve[{y'[x]+y[x]*Cot[x]==5*Exp[Cos[x]],{y[Pi/2]==-4}},y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to \left (1-5 e^{\cos (x)}\right ) \csc (x) \]