Internal
problem
ID
[12732]
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
9.
Variables
searated
or
separable.
Page
13
Problem
number
:
Ex
1
Date
solved
:
Monday, March 31, 2025 at 06:56:29 AM
CAS
classification
:
[_separable]
ode:=sec(x)*cos(y(x))^2-cos(x)*sin(y(x))*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=(Sec[x]*Cos[y[x]]^2)-(Cos[x]*Sin[y[x]])*D[y[x],x]==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-sin(y(x))*cos(x)*Derivative(y(x), x) + cos(y(x))**2/cos(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)