Internal
problem
ID
[1502]
Book
:
Elementary
differential
equations
and
boundary
value
problems,
11th
ed.,
Boyce,
DiPrima,
Meade
Section
:
Chapter
6.4,
The
Laplace
Transform.
Differential
equations
with
discontinuous
forcing
functions.
page
268
Problem
number
:
8
Date
solved
:
Saturday, March 29, 2025 at 10:56:46 PM
CAS
classification
:
[[_high_order, _linear, _nonhomogeneous]]
Using Laplace method With initial conditions
ode:=diff(diff(diff(diff(y(t),t),t),t),t)+5*diff(diff(y(t),t),t)+4*y(t) = 1-Heaviside(t-Pi); ic:=y(0) = 0, D(y)(0) = 0, (D@@2)(y)(0) = 0, (D@@3)(y)(0) = 0; dsolve([ode,ic],y(t),method='laplace');
ode=D[y[t],{t,4}]+5*D[y[t],{t,2}]+4*y[t]==1-UnitStep[t-Pi]; ic={y[0]==0,Derivative[1][y][0] ==0,Derivative[2][y][0] ==0,Derivative[3][y][0]==0}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(4*y(t) + Heaviside(t - pi) + 5*Derivative(y(t), (t, 2)) + Derivative(y(t), (t, 4)) - 1,0) ics = {y(0): 0, Subs(Derivative(y(t), t), t, 0): 0, Subs(Derivative(y(t), (t, 2)), t, 0): 0, Subs(Derivative(y(t), (t, 3)), t, 0): 0} dsolve(ode,func=y(t),ics=ics)