Internal
problem
ID
[2690]
Book
:
Differential
equations
and
their
applications,
4th
ed.,
M.
Braun
Section
:
Chapter
2.
Second
order
differential
equations.
Section
2.11,
Differential
equations
with
discontinuous
right-hand
sides.
Excercises
page
243
Problem
number
:
6
Date
solved
:
Monday, January 27, 2025 at 06:06:36 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
Using Laplace method With initial conditions
✓ Solution by Maple
Time used: 1.203 (sec). Leaf size: 88
dsolve([diff(y(t),t$2)+2*diff(y(t),t)+y(t)=piecewise(0<=t and t<Pi/2,sin(2*t),t>=Pi/2,0),y(0) = 1, D(y)(0) = 0],y(t), singsol=all)
✓ Solution by Mathematica
Time used: 0.202 (sec). Leaf size: 88
DSolve[{D[y[t],{t,2}]+2*D[y[t],t]+y[t]==Piecewise[{{Sin[2*t],0<=t<Pi/2},{0,t>=Pi/2}}],{y[0]==1,Derivative[1][y][0] ==0}},y[t],t,IncludeSingularSolutions -> True]