Internal
problem
ID
[1241]
Book
:
Elementary
differential
equations
and
boundary
value
problems,
10th
ed.,
Boyce
and
DiPrima
Section
:
Miscellaneous
problems,
end
of
chapter
2.
Page
133
Problem
number
:
24
Date
solved
:
Saturday, March 29, 2025 at 10:49:40 PM
CAS
classification
:
[_separable]
ode:=2*cos(x)*sin(x)*sin(y(x))+cos(y(x))*sin(x)^2*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=2*Cos[x]*Sin[x]*Sin[y[x]]+Cos[y[x]]*Sin[x]^2*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)**2*cos(y(x))*Derivative(y(x), x) + 2*sin(x)*sin(y(x))*cos(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)