Internal
problem
ID
[16797]
Book
:
A
book
of
problems
in
ordinary
differential
equations.
M.L.
KRASNOV,
A.L.
KISELYOV,
G.I.
MARKARENKO.
MIR,
MOSCOW.
1983
Section
:
Section
12.
Miscellaneous
problems.
Exercises
page
93
Problem
number
:
276
Date
solved
:
Monday, March 31, 2025 at 03:19:47 PM
CAS
classification
:
[_linear]
ode:=x*sin(x)*diff(y(x),x)+(sin(x)-x*cos(x))*y(x) = cos(x)*sin(x)-x; dsolve(ode,y(x), singsol=all);
ode=x*Sin[x]*D[y[x],x]+(Sin[x]-x*Cos[x])*y[x]==Sin[x]*Cos[x]-x; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*sin(x)*Derivative(y(x), x) + x + (-x*cos(x) + sin(x))*y(x) - sin(x)*cos(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)