MathGroup Archive 2005

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

Search the Archive

Parametric Numerical Integral

  • To: mathgroup at smc.vnet.net
  • Subject: [mg63095] Parametric Numerical Integral
  • From: "Nikola Letic" <nletic at yahoo.com>
  • Date: Wed, 14 Dec 2005 04:35:57 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hello,
I have the following problem:
I define a parametric integral as follows:
int[p_]:=NIntegrate[If[t == 0, 0,1/(E^((1/2)*(-2 + 
1/t)^2)*(Sqrt[2*Pi]*t))],{t, -p, p}, MaxRecursion -> 50,WorkingPrecision -> 
50]

it works fine for numerical values of p such as int[10], but when I try 
something like this:

<< NumericalMath`NLimit`

NLimit[int[p], p -> Infinity]

it ends up with error messages:

NIntegrate::nlim: t = 1.00000 p is not a valid limit of integration.

Now I tought that NLimit should also deal only with numerical values, but I 
was wrong. Seems that the way I defined this function above has serious 
limitations in its further usage.

Does any of you Mathematica Gurus know an easy workaround for this?

Thanks in advance

Nikola Letic



  • Prev by Date: Re: Why is y a local variable here?
  • Next by Date: Re: Remote Mathematica kernels and SSH password
  • Previous by thread: Re: Opener Icons for cell group.
  • Next by thread: Re: Parametric Numerical Integral