Internal
problem
ID
[2488]
Book
:
Differential
equations
and
their
applications,
4th
ed.,
M.
Braun
Section
:
Chapter
1.
First
order
differential
equations.
Section
1.2.
Linear
equations.
Excercises
page
9
Problem
number
:
17
Date
solved
:
Monday, January 27, 2025 at 05:54:09 AM
CAS
classification
:
[[_linear, `class A`]]
With initial conditions
✓ Solution by Maple
Time used: 0.102 (sec). Leaf size: 38
dsolve([diff(y(t),t)+y(t)=piecewise(0<=t and t<=1,2,t>1,0),y(0) = 0],y(t), singsol=all)
✓ Solution by Mathematica
Time used: 0.074 (sec). Leaf size: 40
DSolve[{D[y[t],t]+y[t]==Piecewise[{{2,0<=t<=2},{0,t>1}}],{y[0]==0}},y[t],t,IncludeSingularSolutions -> True]