68.5.41 problem 48

Internal problem ID [17292]
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 : 48
Date solved : Thursday, October 02, 2025 at 02:01:01 PM
CAS classification : [[_linear, `class A`]]

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