Internal
problem
ID
[9646]
Book
:
DIFFERENTIAL
EQUATIONS
with
Boundary
Value
Problems.
DENNIS
G.
ZILL,
WARREN
S.
WRIGHT,
MICHAEL
R.
CULLEN.
Brooks/Cole.
Boston,
MA.
2013.
8th
edition.
Section
:
CHAPTER
7
THE
LAPLACE
TRANSFORM.
7.4.1
DERIVATIVES
OF
A
TRANSFORM.
Page
309
Problem
number
:
13
Date
solved
:
Tuesday, September 30, 2025 at 06:21:49 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
Using Laplace method With initial conditions
ode:=diff(diff(y(t),t),t)+16*y(t) = piecewise(0 <= t and t < Pi,cos(4*t),Pi <= t,0); ic:=[y(0) = 0, D(y)(0) = 1]; dsolve([ode,op(ic)],y(t),method='laplace');
ode=D[y[t],{t,2}]+16*y[t]==Piecewise[{{Cos[4*t],0<=t<Pi},{0,t>=Pi}}]; ic={y[0]==1,Derivative[1][y][0] ==1}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(-Piecewise((cos(4*t), (t >= 0) & (t < pi)), (0, t >= pi)) + 16*y(t) + Derivative(y(t), (t, 2)),0) ics = {y(0): 1, Subs(Derivative(y(t), t), t, 0): 1} dsolve(ode,func=y(t),ics=ics)