Re: Re: volume calculation
- To: mathgroup at smc.vnet.net
- Subject: [mg100303] Re: [mg100243] Re: [mg100240] volume calculation
- From: Filippo Miatto <miatto at gmail.com>
- Date: Sun, 31 May 2009 06:36:40 -0400 (EDT)
- References: <200905282335.TAA15300@smc.vnet.net> <200905300056.UAA23328@smc.vnet.net>
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
- References:
- volume calculation
- From: Filippo Miatto <miatto@gmail.com>
- Re: volume calculation
- From: Leonid Shifrin <lshifr@gmail.com>
- volume calculation