Internal
problem
ID
[1219]
Book
:
Elementary
differential
equations
and
boundary
value
problems,
10th
ed.,
Boyce
and
DiPrima
Section
:
Miscellaneous
problems,
end
of
chapter
2.
Page
133
Problem
number
:
2
Date
solved
:
Saturday, March 29, 2025 at 10:47:55 PM
CAS
classification
:
[_separable]
ode:=diff(y(x),x) = (1+cos(x))/(2-sin(y(x))); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x] == (1+Cos[x])/(2-Sin[y[x]]); ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(Derivative(y(x), x) - (cos(x) + 1)/(2 - sin(y(x))),0) ics = {} dsolve(ode,func=y(x),ics=ics)