Internal
problem
ID
[17749]
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
:
1
Date
solved
:
Tuesday, January 28, 2025 at 11:02:09 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
Using Laplace method With initial conditions
✓ Solution by Maple
Time used: 16.767 (sec). Leaf size: 30
dsolve([diff(y(t),t$2)+y(t)=piecewise(0<=t and t<Pi/2, 1, t>=Pi/2 ,0),y(0) = 5, D(y)(0) = 3],y(t), singsol=all)
✓ Solution by Mathematica
Time used: 0.030 (sec). Leaf size: 47
DSolve[{D[y[t],{t,2}]+y[t]==Piecewise[{ {1,0<=t<Pi/2},{0,t>=Pi/2}}],{y[0]==5,Derivative[1][y][0] ==3}},y[t],t,IncludeSingularSolutions -> True]