Internal
problem
ID
[20383]
Book
:
A
Text
book
for
differentional
equations
for
postgraduate
students
by
Ray
and
Chaturvedi.
First
edition,
1958.
BHASKAR
press.
INDIA
Section
:
Chapter
II.
Equations
of
first
order
and
first
degree.
Exercise
II
(D)
at
page
16
Problem
number
:
3
Date
solved
:
Thursday, October 02, 2025 at 05:49:38 PM
CAS
classification
:
[_linear]
ode:=x*cos(x)*diff(y(x),x)+y(x)*(x*sin(x)+cos(x)) = 1; dsolve(ode,y(x), singsol=all);
ode=x*Cos[x]*D[y[x],x]+y[x]*(x*Sin[x]+Cos[x])==1; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*cos(x)*Derivative(y(x), x) + (x*sin(x) + cos(x))*y(x) - 1,0) ics = {} dsolve(ode,func=y(x),ics=ics)