Internal
problem
ID
[18728]
Book
:
Introductory
Course
On
Differential
Equations
by
Daniel
A
Murray.
Longmans
Green
and
Co.
NY.
1924
Section
:
Chapter
II.
Equations
of
the
first
order
and
of
the
first
degree.
Examples
on
chapter
II
at
page
29
Problem
number
:
Ex.
37
Date
solved
:
Monday, March 31, 2025 at 06:03:18 PM
CAS
classification
:
[_linear]
ode:=diff(y(x),x)+n/x*y(x) = a/(x^n); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]+n/x*y[x]==a/x^n; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") n = symbols("n") y = Function("y") ode = Eq(-a/x**n + n*y(x)/x + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
RecursionError : maximum recursion depth exceeded