MathGroup Archive 2004

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

Search the Archive

Problem with NIntegrte


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: RE: Trig identity oscillations
  • Next by Date: Basic Numerical Analysis
  • Previous by thread: Re: Problems integrating BesselJ
  • Next by thread: Re: Problem with NIntegrte