Internal
problem
ID
[7855]
Book
:
Differential
Equations:
Theory,
Technique,
and
Practice
by
George
Simmons,
Steven
Krantz.
McGraw-Hill
NY.
2007.
1st
Edition.
Section
:
Chapter
1.
What
is
a
differential
equation.
Section
1.5.
Exact
Equations.
Page
20
Problem
number
:
6
Date
solved
:
Sunday, March 30, 2025 at 12:30:49 PM
CAS
classification
:
[_separable]
ode:=cos(x)*cos(y(x))^2+2*sin(x)*sin(y(x))*cos(y(x))*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=(Cos[x]*Cos[y[x]]^2)+(2*Sin[x]*Sin[y[x]]*Cos[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))*cos(y(x))*Derivative(y(x), x) + cos(x)*cos(y(x))**2,0) ics = {} dsolve(ode,func=y(x),ics=ics)