Internal
problem
ID
[2693]
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
:
9
Date
solved
:
Monday, January 27, 2025 at 06:09:28 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
Using Laplace method With initial conditions
✓ Solution by Maple
Time used: 1.398 (sec). Leaf size: 80
dsolve([diff(y(t),t$2)-2*diff(y(t),t)+y(t)=piecewise(0<=t and t<1,0,t>=1 and t<2,t,t>=2,0 ),y(0) = 0, D(y)(0) = 1],y(t), singsol=all)
✓ Solution by Mathematica
Time used: 0.045 (sec). Leaf size: 62
DSolve[{D[y[t],{t,2}]-2*D[y[t],t]+y[t]==Piecewise[{{0,0<=t<1},{t,1<=t<2},{0,t>=2}}],{y[0]==0,Derivative[1][y][0] ==1}},y[t],t,IncludeSingularSolutions -> True]