Internal
problem
ID
[4560]
Book
:
Differential
equations
for
engineers
by
Wei-Chau
XIE,
Cambridge
Press
2010
Section
:
Chapter
7.
Systems
of
linear
differential
equations.
Problems
at
page
351
Problem
number
:
7.28
Date
solved
:
Monday, January 27, 2025 at 09:23:29 AM
CAS
classification
:
system_of_ODEs
With initial conditions
✓ Solution by Maple
Time used: 0.053 (sec). Leaf size: 113
dsolve([diff(x(t),t)-x(t)+y(t) = 2*sin(t)*(1-Heaviside(t-Pi)), 2*x(t)-diff(y(t),t)-y(t) = 0, x(0) = 0, y(0) = 0], singsol=all)
✓ Solution by Mathematica
Time used: 0.116 (sec). Leaf size: 56
DSolve[{D[x[t],t]-x[t]+y[t]==2*Sin[t]*(1-UnitStep[t-Pi]),2*x[t]-D[y[t],t]-y[t]==0},{x[0]==0,y[0]==0},{x[t],y[t]},t,IncludeSingularSolutions -> True]