Internal
problem
ID
[7367]
Book
:
ADVANCED
ENGINEERING
MATHEMATICS.
ERWIN
KREYSZIG,
HERBERT
KREYSZIG,
EDWARD
J.
NORMINTON.
10th
edition.
John
Wiley
USA.
2011
Section
:
Chapter
6.
Laplace
Transforms.
Problem
set
6.3,
page
224
Problem
number
:
23
Date
solved
:
Monday, January 27, 2025 at 02:51:04 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
Using Laplace method With initial conditions
✓ Solution by Maple
Time used: 0.501 (sec). Leaf size: 28
dsolve([diff(y(t),t$2)+diff(y(t),t)-2*y(t)=piecewise(0<t and t<2*Pi,3*sin(t)-cos(t),t>2*Pi,3*sin(2*t)-cos(2*t)),y(0) = 1, D(y)(0) = 0],y(t), singsol=all)
✓ Solution by Mathematica
Time used: 0.052 (sec). Leaf size: 55
DSolve[{D[y[t],{t,2}]+D[y[t],t]-2*y[t]==Piecewise[{{3*Sin[t]-Cos[t],0<t<2*Pi},{3*Sin[2*t]-Cos[2*t],t>2*Pi}}],{y[0]==1,Derivative[1][y][0] ==0}},y[t],t,IncludeSingularSolutions -> True]