Internal
problem
ID
[25194]
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
139
Problem
number
:
38
Date
solved
:
Thursday, October 02, 2025 at 11:57:42 PM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
Using Laplace method With initial conditions
ode:=diff(diff(y(t),t),t)-3*diff(y(t),t)+2*y(t) = exp(t); ic:=[y(0) = -3, D(y)(0) = 0]; dsolve([ode,op(ic)],y(t),method='laplace');
ode=D[y[t],{t,2}]-3*D[y[t],{t,1}]+2*y[t]==Exp[t]; ic={y[0]==-3,Derivative[1][y][0] ==0}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(2*y(t) - exp(t) - 2*Derivative(y(t), (t, 2)),0) ics = {y(0): -3, Subs(Derivative(y(t), t), t, 0): 0} dsolve(ode,func=y(t),ics=ics)