Internal
problem
ID
[13574]
Book
:
Differential
Equations
by
Shepley
L.
Ross.
Third
edition.
John
Willey.
New
Delhi.
2004.
Section
:
Chapter
9,
The
Laplace
transform.
Section
9.3,
Exercises
page
452
Problem
number
:
2
Date
solved
:
Monday, March 31, 2025 at 08:01:35 AM
CAS
classification
:
[[_linear, `class A`]]
Using Laplace method With initial conditions
ode:=diff(y(t),t)+y(t) = 2*sin(t); ic:=y(0) = -1; dsolve([ode,ic],y(t),method='laplace');
ode=D[y[t],t]+y[t]==2*Sin[t]; ic={y[0]==-1}; DSolve[{ode,ic},{y[t]},t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(y(t) - 2*sin(t) + Derivative(y(t), t),0) ics = {y(0): -1} dsolve(ode,func=y(t),ics=ics)