7.3.4 problem 4

Internal problem ID [2321]
Book : Differential equations and their applications, 3rd ed., M. Braun
Section : Section 1.4. Page 24
Problem number : 4
Date solved : Tuesday, September 30, 2025 at 05:26:40 AM
CAS classification : [_separable]

\begin{align*} y^{\prime }&={\mathrm e}^{3+t +y} \end{align*}
Maple. Time used: 0.003 (sec). Leaf size: 17
ode:=diff(y(t),t) = exp(3+t+y(t)); 
dsolve(ode,y(t), singsol=all);
 
\[ y = -3-\ln \left (-{\mathrm e}^{t}-c_1 \right ) \]
Mathematica. Time used: 0.622 (sec). Leaf size: 20
ode=D[y[t],t] == Exp[3+t+y[t]]; 
ic={}; 
DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
 
\begin{align*} y(t)&\to -\log \left (-e^{t+3}-c_1\right ) \end{align*}
Sympy. Time used: 0.126 (sec). Leaf size: 14
from sympy import * 
t = symbols("t") 
y = Function("y") 
ode = Eq(-exp(t + y(t) + 3) + Derivative(y(t), t),0) 
ics = {} 
dsolve(ode,func=y(t),ics=ics)
 
\[ y{\left (t \right )} = \log {\left (- \frac {1}{C_{1} + e^{t + 3}} \right )} \]