2.1 problem 1

Internal problem ID [1649]

Book: Differential equations and their applications, 3rd ed., M. Braun
Section: Section 1.2. Page 9
Problem number: 1.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

Solve \begin {gather*} \boxed {\cos \relax (t ) y+y^{\prime }=0} \end {gather*}

Solution by Maple

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

dsolve(cos(t)*y(t)+diff(y(t),t) = 0,y(t), singsol=all)
 

\[ y \relax (t ) = c_{1} {\mathrm e}^{-\sin \relax (t )} \]

Solution by Mathematica

Time used: 0.035 (sec). Leaf size: 19

DSolve[Cos[t]*y[t]+y'[t] == 0,y[t],t,IncludeSingularSolutions -> True]
 

\begin{align*} y(t)\to c_1 e^{-\sin (t)} \\ y(t)\to 0 \\ \end{align*}