Internal
problem
ID
[13812]
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
50
Date
solved
:
Monday, March 31, 2025 at 08:13:41 AM
CAS
classification
:
[_linear]
ode:=diff(x(t),t)-x(t)*cot(t) = 4*sin(t); dsolve(ode,x(t), singsol=all);
ode=D[x[t],t]-x[t]*Cot[t]==4*Sin[t]; ic={}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(-x(t)/tan(t) - 4*sin(t) + Derivative(x(t), t),0) ics = {} dsolve(ode,func=x(t),ics=ics)