I am trying to numerically evaluate the integral of bessel functions.
I've tried constructing it various ways.  The one that makes most
sense to me is:
a=var('a')
f=bessel_J(1,a)*bessel_J(0,0.1*a)*e^(-5*a)
f.numerical_integral(a,0,infinity)

I get the error:  Cannot evaluate symbolic expression to a numeric
value.

I also tried placing various arguments inside n() functions.  Then I
get the error:  self must be a numeric expression

Obviously, if I don't have a variable in my expression, I wouldn't
need Sage to help me integrate it.  I get the same errors with
nintegral() instead of numerical_integral().

How do I construct this to get a numeric result?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to