8.20 problem 20

Internal problem ID [14422]

Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section: Chapter 2. First Order Equations. Review exercises, page 80
Problem number: 20.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

\[ \boxed {y^{\prime }+y=5} \]

Solution by Maple

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

dsolve(diff(y(t),t)+y(t)=5,y(t), singsol=all)
 

\[ y \left (t \right ) = 5+{\mathrm e}^{-t} c_{1} \]

Solution by Mathematica

Time used: 0.021 (sec). Leaf size: 20

DSolve[y'[t]+y[t]==5,y[t],t,IncludeSingularSolutions -> True]
 

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