MathGroup Archive 1992

[Date Index] [Thread Index] [Author Index]

Search the Archive

brand new bugs in Integrate

  • To: mathgroup at yoda.physics.unc.edu
  • Subject: brand new bugs in Integrate
  • From: brigham!rprice at physics.att.com
  • Date: Wed, 21 Oct 92 23:53:26 EDT

Mathgroup,

How do I get around this?

I just got mma 2.1 for my NeXtstation, only to find that whatever old  
bugs WRI fixed in Integrate[], they've added in some new ones for us.   
The following worked fine in mma 2.0, but now it and many other  
integrals gives this behavior:

Rod Price
rprice at physics.att.com


In[18]:=
Integrate[BesselJ[0,k r], {r,0,Infinity}]
$RecursionLimit::reclim: Recursion depth of 256 exceeded.
$RecursionLimit::reclim: Recursion depth of 256 exceeded.
$RecursionLimit::reclim: Recursion depth of 256 exceeded.
General::stop: 

   Further output of $RecursionLimit::reclim
     will be suppressed during this calculation.
Out[18]=
BesselJ[0, k BesselJ[0, 

 

     k BesselJ[0, k BesselJ[0, 

 

         k BesselJ[0, k 

 

            BesselJ[0, k 

 

              BesselJ[0, 

 

               k BesselJ[0, 

 

                 k BesselJ[0, 

 

                   k BesselJ[0, 

 

                    k BesselJ[0, 

 

                    k BesselJ[0, 

 ............many identical lines deleted................
                    k BesselJ[0, 

 

                    k BesselJ[0, k Hold[BesselJ[0, k r]]]]
 

                    ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
 

                    ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
 

                    ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
 

          ]]]] (Infinity)

------------followup email------------

I just got off the phone with Wolfram.  The problem is that the thin  
kernel doesn't load all the integration packages.  The workaround is  
to either reinstall the full kernel to begin with, or to evaluate an  
integral with only elementary expressions at the first line of the  
program as soon as you start a new session.  

Thanks very much,

Rod Price
rprice at physics.att.com





  • Prev by Date: Re: Linear Programming
  • Next by Date: Suppressing the use of special functions
  • Previous by thread: ListPlot
  • Next by thread: Suppressing the use of special functions