Internal
problem
ID
[13266]
Book
:
Differential
Equations
by
Shepley
L.
Ross.
Third
edition.
John
Willey.
New
Delhi.
2004.
Section
:
Chapter
2,
section
2.3
(Linear
equations).
Exercises
page
56
Problem
number
:
24
Date
solved
:
Monday, March 31, 2025 at 07:44:20 AM
CAS
classification
:
[[_linear, `class A`]]
With initial conditions
ode:=diff(x(t),t)-x(t) = sin(2*t); ic:=x(0) = 0; dsolve([ode,ic],x(t), singsol=all);
ode=D[x[t],t]-x[t]==Sin[2*t]; ic={x[0]==0}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(-x(t) - sin(2*t) + Derivative(x(t), t),0) ics = {x(0): 0} dsolve(ode,func=x(t),ics=ics)