Numerical integration?



>>>>> "Nicolas" == Nicolas Neuss <Nicolas.Neuss@iwr.uni-heidelberg.de> writes:

    Nicolas> Nicolas Neuss <Nicolas.Neuss@iwr.uni-heidelberg.de> writes:
    >> Hi,
    >> 
    >> I would like to evaluate the function
    >> 
    >> f(c) := integrate (x*x/(c+x*x)*exp(-x*x), x, 0, c)
    >> 
    >> Unfortunately, symbolic integration does not work (meaning that I
    >> couldn't do it, and Maxima failed as well).  Can Maxima do a numerical
    >> integration?  Has anyone used such a feature?
    >> 
    >> Thanks, Nicolas.

    Nicolas> Thank you, all.  I had looked only in an old Maxima manual, where only
    Nicolas> DCADR and not ROMBERG was listed.  I have thrown it away now.  Too
    Nicolas> much differences to the new Maxima (very nice work, by the way)...

I have a version of QUADPACK converted to lisp that could probably be
hooked into maxima pretty easily.  QUADPACK has a bunch of adaptive
integrators and should be able to handle the simple pole in the
integrand avobe.

Haven't actually tried to integrate it though.

Ray