Internal
problem
ID
[14100]
Book
:
An
elementary
treatise
on
differential
equations
by
Abraham
Cohen.
DC
heath
publishers.
1906
Section
:
Chapter
2,
differential
equations
of
the
first
order
and
the
first
degree.
Article
13.
Linear
equations
of
first
order.
Page
19
Problem
number
:
Ex
1
Date
solved
:
Thursday, October 02, 2025 at 09:13:37 AM
CAS
classification
:
[_linear]
ode:=diff(y(x),x)+y(x)*cot(x) = sec(x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+y[x]*Cot[x]==Sec[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(y(x)/tan(x) + Derivative(y(x), x) - 1/cos(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)