ODE
\[ y'(x)=y(x) \cot (x)+e^x \sin (x) \] ODE Classification
[_linear]
Book solution method
Linear ODE
Mathematica ✓
cpu = 0.192269 (sec), leaf count = 14
\[\left \{\left \{y(x)\to \left (e^x+c_1\right ) \sin (x)\right \}\right \}\]
Maple ✓
cpu = 0.011 (sec), leaf count = 11
\[[y \left (x \right ) = \left ({\mathrm e}^{x}+\textit {\_C1} \right ) \sin \left (x \right )]\] Mathematica raw input
DSolve[y'[x] == E^x*Sin[x] + Cot[x]*y[x],y[x],x]
Mathematica raw output
{{y[x] -> (E^x + C[1])*Sin[x]}}
Maple raw input
dsolve(diff(y(x),x) = exp(x)*sin(x)+y(x)*cot(x), y(x))
Maple raw output
[y(x) = (exp(x)+_C1)*sin(x)]