Internal
problem
ID
[17750]
Book
:
Differential
equations.
An
introduction
to
modern
methods
and
applications.
James
Brannan,
William
E.
Boyce.
Third
edition.
Wiley
2015
Section
:
Chapter
5.
The
Laplace
transform.
Section
5.6
(Differential
equations
with
Discontinuous
Forcing
Functions).
Problems
at
page
342
Problem
number
:
2
Date
solved
:
Tuesday, January 28, 2025 at 11:02:10 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
Using Laplace method With initial conditions
✓ Solution by Maple
Time used: 15.780 (sec). Leaf size: 103
dsolve([diff(y(t),t$2)+2*diff(y(t),t)+2*y(t)=piecewise(0<=t and t<Pi, 0, t>=Pi and t<=2*Pi ,1, t<=2*Pi,0),y(0) = 5, D(y)(0) = 4],y(t), singsol=all)
✓ Solution by Mathematica
Time used: 0.046 (sec). Leaf size: 100
DSolve[{D[y[t],{t,2}]+2*D[y[t],t]+2*y[t]==Piecewise[{ {0,0<= t <Pi}, {1,Pi<= t <=2*Pi}, {0, t>=2*Pi}}],{y[0]==5,Derivative[1][y][0] ==4}},y[t],t,IncludeSingularSolutions -> True]