Internal
problem
ID
[7756]
Book
:
An
introduction
to
Ordinary
Differential
Equations.
Earl
A.
Coddington.
Dover.
NY
1961
Section
:
Chapter
5.
Existence
and
uniqueness
of
solutions
to
first
order
equations.
Page
198
Problem
number
:
2(b)
Date
solved
:
Sunday, March 30, 2025 at 12:22:45 PM
CAS
classification
:
[_separable]
ode:=cos(x)*cos(y(x))-2*sin(x)*sin(y(x))*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=Cos[x]*cos[y[x]]-(2*Sin[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(-2*sin(x)*sin(y(x))*Derivative(y(x), x) + cos(x)*cos(y(x)),0) ics = {} dsolve(ode,func=y(x),ics=ics)