Internal
problem
ID
[17677]
Book
:
Differential
equations.
An
introduction
to
modern
methods
and
applications.
James
Brannan,
William
E.
Boyce.
Third
edition.
Wiley
2015
Section
:
Chapter
4.
Second
order
linear
equations.
Section
4.5
(Nonhomogeneous
Equations,
Method
of
Undetermined
Coefficients).
Problems
at
page
260
Problem
number
:
38
Date
solved
:
Tuesday, January 28, 2025 at 10:54:00 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
With initial conditions
✓ Solution by Maple
Time used: 21.647 (sec). Leaf size: 64
dsolve([diff(y(t),t$2)+2*diff(y(t),t)+5*y(t)=piecewise(0<=t and t<=Pi/2,1,t>Pi/2,0),y(0) = 0, D(y)(0) = 0],y(t), singsol=all)
✓ Solution by Mathematica
Time used: 0.046 (sec). Leaf size: 78
DSolve[{D[y[t],{t,2}]+2*D[y[t],t]+5*y[t]==Piecewise[{ {1,0<=t<=Pi/2}, {0,t>Pi/2} }],{y[0]==0,Derivative[1][y][0] == 0}},y[t],t,IncludeSingularSolutions -> True]