Internal
problem
ID
[2696]
Book
:
Differential
equations
and
their
applications,
4th
ed.,
M.
Braun
Section
:
Chapter
2.
Second
order
differential
equations.
Section
2.12,
Dirac
delta
function.
Excercises
page
250
Problem
number
:
6
Date
solved
:
Monday, January 27, 2025 at 06:09:32 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
Using Laplace method With initial conditions
✓ Solution by Maple
Time used: 1.579 (sec). Leaf size: 80
dsolve([diff(y(t),t$2)+diff(y(t),t)+y(t)=2*Dirac(t-1)-Dirac(t-2),y(0) = 1, D(y)(0) = 0],y(t), singsol=all)
✓ Solution by Mathematica
Time used: 0.233 (sec). Leaf size: 98
DSolve[{D[y[t],{t,2}]+D[y[t],t]+y[t]==2*DiracDelta[t-1]-DiracDelta[t-2],{y[0]==1,Derivative[1][y][0] ==0}},y[t],t,IncludeSingularSolutions -> True]