MathGroup Archive 2011

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

Search the Archive

Re: NIntegrate with AdaptiveMonteCarlo gives different results

  • To: mathgroup at smc.vnet.net
  • Subject: [mg123335] Re: NIntegrate with AdaptiveMonteCarlo gives different results
  • From: DrMajorBob <btreat1 at austin.rr.com>
  • Date: Fri, 2 Dec 2011 07:20:07 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

That's meaningless without definitions for "R", "hc", "compnx", "cmpny",  
and "cmpnz".

Bobby

On Thu, 01 Dec 2011 07:03:37 -0600, valentina <fuchi8 at tiscali.it> wrote:

> Hello everybody,
> I am dealing with a three dimensional integral and I am using
> NIntegrate. Searching the web I found out that the best method is the
> AdaptiveMonteCarlo, which also speed up the calculation.
> this is the integral, no particular singular points:
>
>
> test[d_] := (0.5  NIntegrate[(compnx[x, y, z, d] +
>        compny[x, y, z, d] + compnz[x, y, z, d]), {z, -R - d/2,
>       R + d/2}, {x, -R, R}, {y, -R, R},
>      Method -> "MultiDimensionalRule"]*hc) // Timing
>
> so I want to calculate it for different values of the parameter d, but
> for example if I successively calculate it for d=4 i get two different
> results which differs of about 30-50 MeV.
>
> Does anyone know if it is a bug or how could I fix it?
>
> Thanks in advance.
>


-- 
DrMajorBob at yahoo.com



  • Prev by Date: Re: Orthogonalize[expr]
  • Next by Date: NIntegrate with AdaptiveMonteCarlo gives different results
  • Previous by thread: NIntegrate with AdaptiveMonteCarlo gives different results
  • Next by thread: NIntegrate with AdaptiveMonteCarlo gives different results