Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #6901 > unrolled thread

NIntegrate with AdaptiveMonteCarlo gives different results

Started by"Mantovani Sarti Valentina" <smantovani@fe.infn.it>
First post2011-12-02 12:30 +0000
Last post2011-12-02 12:30 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  NIntegrate with AdaptiveMonteCarlo gives different results "Mantovani Sarti Valentina" <smantovani@fe.infn.it> - 2011-12-02 12:30 +0000

#6901 — NIntegrate with AdaptiveMonteCarlo gives different results

From"Mantovani Sarti Valentina" <smantovani@fe.infn.it>
Date2011-12-02 12:30 +0000
SubjectNIntegrate with AdaptiveMonteCarlo gives different results
Message-ID<jbagd6$22j$1@smc.vnet.net>
 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.


-- 
Mantovani Sarti Valentina, Ph.D. student
e-mail: smantovani@fe.infn.it
tel. (+39)0532-974.353
INFN - Sezione di Ferrara
c/o Department of Physics (Blocco C)
Via Saragat 1
44100 Ferrara
Italy

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web