Internal
problem
ID
[6553]
Book
:
Schaums
Outline
Differential
Equations,
4th
edition.
Bronson
and
Costa.
McGraw
Hill
2014
Section
:
Chapter
24.
Solutions
of
linear
DE
by
Laplace
transforms.
Supplementary
Problems.
page
248
Problem
number
:
Problem
24.33
Date
solved
:
Sunday, March 30, 2025 at 11:07:12 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
Using Laplace method With initial conditions
ode:=diff(diff(y(x),x),x)+5*diff(y(x),x)-3*y(x) = Heaviside(-4+x); ic:=y(0) = 0, D(y)(0) = 0; dsolve([ode,ic],y(x),method='laplace');
ode=D[y[x],{x,2}]+5*D[y[x],x]-3*y[x]==UnitStep[x-4]; ic={y[0]==0,Derivative[1][y][0] ==0}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-3*y(x) - Heaviside(x - 4) + 5*Derivative(y(x), x) + Derivative(y(x), (x, 2)),0) ics = {y(0): 0, Subs(Derivative(y(x), x), x, 0): 0} dsolve(ode,func=y(x),ics=ics)