Internal
problem
ID
[2671]
Book
:
Differential
equations
and
their
applications,
4th
ed.,
M.
Braun
Section
:
Chapter
2.
Second
order
differential
equations.
Section
2.9,
The
method
of
Laplace
transform.
Excercises
page
232
Problem
number
:
15
Date
solved
:
Sunday, March 30, 2025 at 12:13:45 AM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
Using Laplace method With initial conditions
ode:=diff(diff(y(t),t),t)-5*diff(y(t),t)+4*y(t) = exp(2*t); ic:=y(0) = 1, D(y)(0) = -1; dsolve([ode,ic],y(t),method='laplace');
ode=D[y[t],{t,2}]-5*D[y[t],t]+4*y[t]==Exp[2*t]; ic={y[0]==1,Derivative[1][y][0] ==-1}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(4*y(t) - exp(2*t) - 5*Derivative(y(t), t) + Derivative(y(t), (t, 2)),0) ics = {y(0): 1, Subs(Derivative(y(t), t), t, 0): -1} dsolve(ode,func=y(t),ics=ics)