Not sure how to go about doing that. Anyways I tried running the code for the previous bessel functions I successfully plotted, and the error shows up as well. Looks like there is an issue with the sage code not sure where, and what I can do about it. Also I keep the previous version on hand in cause I have an issue however the same error pops up.
On Jan 19, 4:17 pm, Michael Orlitzky <mich...@orlitzky.com> wrote: > On 01/19/2012 05:57 PM, Eric Kangas wrote: > > > I have worked with bessel functions before and haven't had a problem > > until now. > > > Code: > > ----- > > r,p,z,ro,gro,g,k = var('r, p, z,ro,gro,g,k') > > g = 1; k = 1; ro = 1; gro = 1 > > > def Psi(r,z): return lambda r,z: (r*bessel_J(1, g*r))/(ro*bessel_J(1, > > gro))*cos(k*z) if y != 0 and t != 0 else infinity > > > Error: > > ----- > > > Syntax Error > > What are 'y' and 't'? When did it crash -- while you were typing it in, > when Psi was called, or when the returned function was called? > > I tried guessing at some inputs and haven't seen the error. If you could > come up with a test case it would help! -- 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 URL: http://www.sagemath.org