68.5.1 problem 1

Internal problem ID [17252]
Book : INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section : Chapter 2. First Order Equations. Exercises 2.3, page 49
Problem number : 1
Date solved : Thursday, October 02, 2025 at 01:59:57 PM
CAS classification : [_quadrature]

\begin{align*} -y+y^{\prime }&=10 \end{align*}
Maple. Time used: 0.001 (sec). Leaf size: 10
ode:=diff(y(t),t)-y(t) = 10; 
dsolve(ode,y(t), singsol=all);
 
\[ y = -10+{\mathrm e}^{t} c_1 \]
Mathematica. Time used: 0.015 (sec). Leaf size: 18
ode=D[y[t],t]-y[t]==10; 
ic={}; 
DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
 
\begin{align*} y(t)&\to -10+c_1 e^t\\ y(t)&\to -10 \end{align*}
Sympy. Time used: 0.062 (sec). Leaf size: 8
from sympy import * 
t = symbols("t") 
y = Function("y") 
ode = Eq(-y(t) + Derivative(y(t), t) - 10,0) 
ics = {} 
dsolve(ode,func=y(t),ics=ics)
 
\[ y{\left (t \right )} = C_{1} e^{t} - 10 \]