Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: Re: volume calculation


Thank you all for contributing, i found out that NIntegrate with Boole  
works great!
Filippo

On May 30, 2009, at 2:56 AM, Leonid Shifrin wrote:

> Hi,
>
> I would just use NIntegrate[Boole[D(x1,x2,x3,...,xn) < L],{whatever  
> your
> limits in xi}]. possibly with a Monte-Carlo method. If integration  
> limits in
> coordinates depend on other coordinates in a way that is hard to
> disentangle, I would  find the minimal multidimensional "box" with  
> fixed
> dimensions that contains your domain, and integrate over that box.
>
> Regards,
> Leonid
>
>
> On Thu, May 28, 2009 at 4:35 PM, Filippo Miatto <miatto at gmail.com>  
> wrote:
>
>> Dear all,
>> I need a way to find the volume of a multidimensional shape in the
>> coordinates (x1,x2,x3,...,xn), that comes from an inequality like
>> D(x1,x2,x3,...,xn) < L (with 3 variables i get a nice weird shape in
>> R^3, with more i don't plot it)
>> In other words I let Mathematica calculate where in the space of the
>> solutions the inequality is solved and i'd like to have the numerical
>> "volume of the solutions".
>> What strategy should i use? The function D is not invertible...
>> Thank you,
>> Filippo
>>
>>
>>
>> ------------------------------------------------------------
>> Mobile (IT):    +39 340 6104269
>> Mobile (NL):    +31 064 3949827
>> Home (IT):      +39 0438 59360
>>
>> P.O. Box 9504
>> NL 2300 RA LEIDEN
>>
>> msn:                    dr.ziofil at hotmail.com
>> skype:                  filippo.miatto
>> Quantum Optics
>> Group Mail:             miatto at molphys.leidenuniv.nl
>>

------------------------------------------------------------
Mobile (IT):	+39 340 6104269
Mobile (NL):	+31 064 3949827
Home (IT): 	+39 0438 59360

P.O. Box 9504
NL 2300 RA LEIDEN

msn:			dr.ziofil at hotmail.com
skype:			filippo.miatto
Quantum Optics
Group Mail:		miatto at molphys.leidenuniv.nl



  • Prev by Date: Re: printing problem with very simple application
  • Next by Date: Re: problem writing debugging utility function
  • Previous by thread: Re: volume calculation
  • Next by thread: Re: volume calculation