Internal
problem
ID
[13785]
Book
:
Differential
equations
and
the
calculus
of
variations
by
L.
ElSGOLTS.
MIR
PUBLISHERS,
MOSCOW,
Third
printing
1977.
Section
:
Chapter
1,
First-Order
Differential
Equations.
Problems
page
88
Problem
number
:
Problem
9
Date
solved
:
Monday, March 31, 2025 at 08:11:49 AM
CAS
classification
:
[[_linear, `class A`]]
ode:=diff(x(t),t) = x(t)+sin(t); dsolve(ode,x(t), singsol=all);
ode=D[x[t],t]==x[t]+Sin[t]; ic={}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(-x(t) - sin(t) + Derivative(x(t), t),0) ics = {} dsolve(ode,func=x(t),ics=ics)