Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Problem with NIntegrte

  • To: mathgroup at smc.vnet.net
  • Subject: [mg47732] Re: Problem with NIntegrte
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Sat, 24 Apr 2004 04:15:29 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <c6aeog$3hu$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

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