1.1 problem 2.2 (a)

Internal problem ID [12923]

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.2 (a).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

\[ \boxed {y^{\prime }=3-\sin \left (x \right )} \]

Solution by Maple

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

dsolve(diff(y(x),x)=3-sin(x),y(x), singsol=all)
 

\[ y = 3 x +\cos \left (x \right )+c_{1} \]

Solution by Mathematica

Time used: 0.018 (sec). Leaf size: 13

DSolve[y'[x]==3-Sin[x],y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to 3 x+\cos (x)+c_1 \]