Internal
problem
ID
[10000]
Book
:
Own
collection
of
miscellaneous
problems
Section
:
section
1.0
Problem
number
:
2
Date
solved
:
Tuesday, September 30, 2025 at 06:45:58 PM
CAS
classification
:
[_separable]
ode:=diff(y(x),x) = x*(cos(y(x))+y(x)); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x] == x*(Cos[y[x]]+y[x]); ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x*(y(x) + cos(y(x))) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)