Internal problem ID [5098]
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: 12.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {y^{\prime }+y \tan \left (x \right )=\sin \left (x \right )} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 14
dsolve(diff(y(x),x)+y(x)*tan(x)=sin(x),y(x), singsol=all)
\[ y \left (x \right ) = \left (-\ln \left (\cos \left (x \right )\right )+c_{1} \right ) \cos \left (x \right ) \]
✓ Solution by Mathematica
Time used: 0.058 (sec). Leaf size: 16
DSolve[y'[x]+y[x]*Tan[x]==Sin[x],y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to \cos (x) (-\log (\cos (x))+c_1) \]