Internal
problem
ID
[1209]
Book
:
Elementary
differential
equations
and
boundary
value
problems,
10th
ed.,
Boyce
and
DiPrima
Section
:
Section
2.6.
Page
100
Problem
number
:
22
Date
solved
:
Saturday, March 29, 2025 at 10:47:25 PM
CAS
classification
:
[_separable]
ode:=(x+2)*sin(y(x))+x*cos(y(x))*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=(2+x)*Sin[y[x]]+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(x*cos(y(x))*Derivative(y(x), x) + (x + 2)*sin(y(x)),0) ics = {} dsolve(ode,func=y(x),ics=ics)