Internal
problem
ID
[19042]
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
:
18
Date
solved
:
Monday, March 31, 2025 at 06:36:16 PM
CAS
classification
:
[_separable]
ode:=diff(y(x),x)+x = x*exp((n-1)*y(x)); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+x==x*Exp[ (n-1)*y[x]]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") n = symbols("n") y = Function("y") ode = Eq(-x*exp((n - 1)*y(x)) + x + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
TypeError : < not supported between instances of NoneType and y