Internal
problem
ID
[14889]
Book
:
DIFFERENTIAL
EQUATIONS
by
Paul
Blanchard,
Robert
L.
Devaney,
Glen
R.
Hall.
4th
edition.
Brooks/Cole.
Boston,
USA.
2012
Section
:
Chapter
6.
Laplace
transform.
Section
6.4.
page
608
Problem
number
:
3
Date
solved
:
Thursday, March 13, 2025 at 05:18:33 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
Using Laplace method With initial conditions
ode:=diff(diff(y(t),t),t)+2*diff(y(t),t)+5*y(t) = Dirac(t-3); ic:=y(0) = 1, D(y)(0) = 1; dsolve([ode,ic],y(t),method='laplace');
ode=D[y[t],{t,2}]+2*D[y[t],t]+5*y[t]==DiracDelta[t-3]; 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(-Dirac(t - 3) + 5*y(t) + 2*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)