MathGroup Archive 2004

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

Search the Archive

Re: Problem with NIntegrte


Hi,

try 

NIntegrate[y,{x,-Infinity,0},Method->Oscillatory]

and be surprised.

Seems a bug in the "Oscillatory" method.

Regards
  Jens


Joel Storch wrote:
> 
> y=BesselJ[0,x]/Sqrt[1+x^2]
> 
> Integrate[y,{x,-Infinity,Infimity}] yields
>   2 BesselI[0,1/2] BesselK[0,1/2] (1.966)
> 
> 2 NIntegrate[y,{x,0,Infinity},Method->Oscillatory] gives 1.966
> (the integrand is an even function)
> 
> However,
> NIntegrate[y,{x,-Infinity,Infinity},Method->Oscillatory] gives
> 0.00044788
> 
> (Mathematica V5.1)


  • Prev by Date: addition of three angular momenta
  • Next by Date: Problem With "Copy Input from Above"
  • Previous by thread: Problem with NIntegrte
  • Next by thread: Re: Problem with NIntegrte