Internal
problem
ID
[7924]
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.
Problems
for
Review
and
Discovery.
Page
53
Problem
number
:
1(h)
Date
solved
:
Sunday, March 30, 2025 at 12:37:36 PM
CAS
classification
:
[_separable]
ode:=-sin(x)*sin(y(x))+cos(x)*cos(y(x))*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=-Sin[x]*Sin[y[x]]+Cos[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(-sin(x)*sin(y(x)) + cos(x)*cos(y(x))*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)