Hi,
I was trying to solve the laplace equation in spherical coordinates with
angular symmetry:
from sympy.interactive import printing
printing.init_printing()
import sympy as sym
r = sym.symbols('r')
f= sym.Function('f')
eq = sym.Eq(sym.Derivative(r**2*sym.Derivative(f(r),r),r) + r**2*f(r) , 0)
display(eq)
sym.classify_ode(eq,f(r))
sym.dsolve(eq,f(r))
returns
[...]
NotImplementedError: solve: Cannot solve r**2*f(r) + r**2*Derivative(f(r), r,
r) + 2*r*Derivative(f(r), r)
As far as I understand Sympy's classify_ode and dsolve do not recognize
this equation. Or am I missing something?
Is this expected behaviour?
Best regards,
Gert
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.