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