Internal
problem
ID
[21034]
Book
:
A
FIRST
COURSE
IN
DIFFERENTIAL
EQUATIONS
FOR
SCIENTISTS
AND
ENGINEERS.
By
Russell
Herman.
University
of
North
Carolina
Wilmington.
LibreText.
compiled
on
06/09/2025
Section
:
Chapter
5,
Laplace
transforms.
Problems
section
5.7
Problem
number
:
4.a
Date
solved
:
Thursday, October 02, 2025 at 07:01:37 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
Using Laplace method With initial conditions
ode:=diff(diff(y(t),t),t)+4*y(t) = Dirac(t-1); ic:=[y(0) = 3, D(y)(0) = 0]; dsolve([ode,op(ic)],y(t),method='laplace');
ode=D[y[t],{t,2}]+4*y[t]==DiracDelta[t-1]; 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(-Dirac(t - 1) + 4*y(t) + 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)