Internal
problem
ID
[3961]
Book
:
Differential
equations
and
linear
algebra,
Stephen
W.
Goode
and
Scott
A
Annin.
Fourth
edition,
2015
Section
:
Chapter
10,
The
Laplace
Transform
and
Some
Elementary
Applications.
Exercises
for
10.7.
page
704
Problem
number
:
Problem
32
Date
solved
:
Monday, January 27, 2025 at 08:05:03 AM
CAS
classification
:
[[_linear, `class A`]]
Using Laplace method With initial conditions
✓ Solution by Maple
Time used: 4.657 (sec). Leaf size: 63
dsolve([diff(y(t),t)-3*y(t)=piecewise(0<=t and t<Pi/2,sin(t),t>=Pi/2,1),y(0) = 2],y(t), singsol=all)
✓ Solution by Mathematica
Time used: 0.105 (sec). Leaf size: 68
DSolve[{D[y[t],t]-3*y[t]==Piecewise[{{Sin[t],0<=t<Pi/2},{1,t >= Pi/2}}],{y[0]==2}},y[t],t,IncludeSingularSolutions -> True]