Internal
problem
ID
[4230]
Book
:
Advanced
Mathematica,
Book2,
Perkin
and
Perkin,
1992
Section
:
Chapter
11.3,
page
316
Problem
number
:
18
Date
solved
:
Tuesday, September 30, 2025 at 07:07:52 AM
CAS
classification
:
[_separable]
With initial conditions
ode:=x*cos(y(x))*diff(y(x),x) = 1+sin(y(x)); ic:=[y(1) = 0]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=x*Cos[y[x]]*D[y[x],x]==1+Sin[y[x]]; ic=y[1]==0; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*cos(y(x))*Derivative(y(x), x) - sin(y(x)) - 1,0) ics = {y(1): 0} dsolve(ode,func=y(x),ics=ics)