13.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, March 04, 2025 at 01:54:13 PM
CAS classification : [_separable]

\begin{align*} y^{\prime }&={\mathrm e}^{3+t +y} \end{align*}

Maple. Time used: 0.004 (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.834 (sec). Leaf size: 20
ode=D[y[t],t] == Exp[3+t+y[t]]; 
ic={}; 
DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
 
\[ y(t)\to -\log \left (-e^{t+3}-c_1\right ) \]
Sympy. Time used: 0.219 (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 )} \]