90.8.1 problem 1

Internal problem ID [25175]
Book : Ordinary Differential Equations. By William Adkins and Mark G Davidson. Springer. NY. 2010. ISBN 978-1-4614-3617-1
Section : Chapter 2. The Laplace Transform. Exercises at page 109
Problem number : 1
Date solved : Thursday, October 02, 2025 at 11:57:35 PM
CAS classification : [_quadrature]

\begin{align*} y^{\prime }-4 y&=0 \end{align*}

Using Laplace method With initial conditions

\begin{align*} y \left (0\right )&=2 \\ \end{align*}
Maple. Time used: 0.041 (sec). Leaf size: 10
ode:=diff(y(t),t)-4*y(t) = 0; 
ic:=[y(0) = 2]; 
dsolve([ode,op(ic)],y(t),method='laplace');
 
\[ y = 2 \,{\mathrm e}^{4 t} \]
Mathematica. Time used: 0.013 (sec). Leaf size: 12
ode=D[y[t],t]-4*y[t]==0; 
ic={y[0]==2}; 
DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
 
\begin{align*} y(t)&\to 2 e^{4 t} \end{align*}
Sympy. Time used: 0.061 (sec). Leaf size: 8
from sympy import * 
t = symbols("t") 
y = Function("y") 
ode = Eq(-4*y(t) + Derivative(y(t), t),0) 
ics = {y(0): 2} 
dsolve(ode,func=y(t),ics=ics)
 
\[ y{\left (t \right )} = 2 e^{4 t} \]