4.58 problem 57 (b)

Internal problem ID [14216]

Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section: Chapter 2. First Order Equations. Exercises 2.2, page 39
Problem number: 57 (b).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

\[ \boxed {y^{\prime }-y^{2} \cos \left (t \right )=0} \] With initial conditions \begin {align*} [y \left (0\right ) = 1] \end {align*}

Solution by Maple

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

dsolve([diff(y(t),t)=y(t)^2*cos(t),y(0) = 1],y(t), singsol=all)
 

\[ y \left (t \right ) = -\frac {1}{-1+\sin \left (t \right )} \]

Solution by Mathematica

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

DSolve[{y'[t]==y[t]^2*Cos[t],{y[0]==1}},y[t],t,IncludeSingularSolutions -> True]
 

\[ y(t)\to \frac {1}{1-\sin (t)} \]