1.27 problem 2.4 (e)

Internal problem ID [12949]

Book: Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell. second edition. CRC Press. FL, USA. 2020
Section: Chapter 2. Integration and differential equations. Additional exercises. page 32
Problem number: 2.4 (e).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

\[ \boxed {\cos \left (x \right ) y^{\prime }=\sin \left (x \right )} \] With initial conditions \begin {align*} [y \left (0\right ) = 3] \end {align*}

Solution by Maple

Time used: 0.015 (sec). Leaf size: 11

dsolve([cos(x)*diff(y(x),x)-sin(x)=0,y(0) = 3],y(x), singsol=all)
 

\[ y = -\ln \left (\cos \left (x \right )\right )+3 \]

Solution by Mathematica

Time used: 0.01 (sec). Leaf size: 12

DSolve[{Cos[x]*y'[x]-Sin[x]==0,{y[0]==3}},y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to 3-\log (\cos (x)) \]