Internal
problem
ID
[19136]
Book
:
A
Text
book
for
differentional
equations
for
postgraduate
students
by
Ray
and
Chaturvedi.
First
edition,
1958.
BHASKAR
press.
INDIA
Section
:
Chapter
IV.
Equations
of
the
first
order
but
not
of
the
first
degree.
Exercise
IV
(A)
at
page
53
Problem
number
:
5
Date
solved
:
Thursday, March 13, 2025 at 01:45:04 PM
CAS
classification
:
[_separable]
ode:=diff(y(x),x)^2+2*y(x)*diff(y(x),x)*cot(x) = y(x)^2; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]^2+2*y[x]*D[y[x],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)