Internal
problem
ID
[12828]
Book
:
An
elementary
treatise
on
differential
equations
by
Abraham
Cohen.
DC
heath
publishers.
1906
Section
:
Chapter
IV,
differential
equations
of
the
first
order
and
higher
degree
than
the
first.
Article
28.
Summary.
Page
59
Problem
number
:
Ex
7
Date
solved
:
Wednesday, March 05, 2025 at 08:47:16 PM
CAS
classification
:
[_separable]
ode:=diff(y(x),x)^2+2*diff(y(x),x)*y(x)*cot(x) = y(x)^2; dsolve(ode,y(x), singsol=all);
ode=(D[y[x],x])^2+2*D[y[x],x]*y[x]*Cot[x]==y[x]^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-y(x)**2 + 2*y(x)*Derivative(y(x), x)/tan(x) + Derivative(y(x), x)**2,0) ics = {} dsolve(ode,func=y(x),ics=ics)