74.5.1 problem 1

Internal problem ID [15886]
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, March 13, 2025 at 06:56:04 AM
CAS classification : [_quadrature]

\begin{align*} y^{\prime }-y&=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+c_{1} {\mathrm e}^{t} \]
Mathematica. Time used: 0.025 (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.126 (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 \]