Internal
problem
ID
[14544]
Book
:
Ordinary
Differential
Equations
by
Charles
E.
Roberts,
Jr.
CRC
Press.
2010
Section
:
Chapter
5.
The
Laplace
Transform
Method.
Exercises
5.4,
page
265
Problem
number
:
4
(b)
Date
solved
:
Tuesday, January 28, 2025 at 06:43:11 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
Using Laplace method With initial conditions
✓ Solution by Maple
Time used: 16.301 (sec). Leaf size: 128
dsolve([diff(y(x),x$2)-diff(y(x),x)-2*y(x)=piecewise(2<=x and x<4,1,true,0),y(0) = 0, D(y)(0) = 1],y(x), singsol=all)
✓ Solution by Mathematica
Time used: 0.041 (sec). Leaf size: 127
DSolve[{D[y[x],{x,2}]-D[y[x],x]-2*y[x]==Piecewise[{ {1,2<=x<4},{0,True}}],{y[0]==0,Derivative[1][y][0] ==1}},y[x],x,IncludeSingularSolutions -> True]