Internal
problem
ID
[15354]
Book
:
APPLIED
DIFFERENTIAL
EQUATIONS
The
Primary
Course
by
Vladimir
A.
Dobrushkin.
CRC
Press
2015
Section
:
Chapter
5.6
Laplace
transform.
Nonhomogeneous
equations.
Problems
page
368
Problem
number
:
Problem
4(e)
Date
solved
:
Thursday, October 02, 2025 at 10:12:00 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
Using Laplace method With initial conditions
ode:=diff(diff(y(t),t),t)+4*y(t) = piecewise(0 <= t and t < 1/2*Pi,8*t,1/2*Pi <= t,8*Pi); ic:=[y(0) = 0, D(y)(0) = 0]; dsolve([ode,op(ic)],y(t),method='laplace');
ode=D[y[t],{t,2}]+4*y[t]==Piecewise[{{8*t,0<=t<Pi/2},{8*Pi,t>=Pi/2}}]; ic={y[0]==0,Derivative[1][y][0] ==0}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(-Piecewise((8*t, (t >= 0) & (t < pi/2)), (8*pi, t >= pi/2)) + 4*y(t) + Derivative(y(t), (t, 2)),0) ics = {y(0): 0, Subs(Derivative(y(t), t), t, 0): 0} dsolve(ode,func=y(t),ics=ics)