I'm trying to do some symbolic calculus and am having trouble with the special function spherical_bessel_J(). I can't get it to work when the argument contains two factors.
Here is a simple program:
k=var('k');
k=maxima(k);
rho=var('rho');
rho=maxima(rho);
arg=var('arg');
arg=maxima(arg);
arg=k*rho;
f=cos(arg);
print f;
f=spherical_bessel_J(1,rho);
print f;
f=spherical_bessel_J(1,arg);
print f;

The first two print statements are fine:

          cos(k rho)

sin(rho)
-------- - cos(rho)
rho
-------------------
rho

But the program hangs and never reaches the third print statement. What is wrong?
-Robert
robert.cl...@classicalmatter.org --~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---



Reply via email to