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