Common area of circles

Shashwat Anand anand.shashwat at gmail.com
Thu Feb 4 07:05:46 EST 2010


I want to calculate areas.
like for two circles (0, 0) and (0, 1) : the output is '1.228370'

similarly my aim is to take 'n' co-ordinates, all of radius '1' and
calculate the area common to all.
The best I got was monte-carlo methods which is inefficient. Is there any
other approach possible.

On Thu, Feb 4, 2010 at 5:24 PM, Xavier Ho <contact at xavierho.com> wrote:

> I'm not sure what you're after. Are you after how to calculate the area? Or
> are you trying to graph it? Or an analytical solution?
>
> What do you mean by "take out the intersection"?
>
> -Xav
>
> On Thu, Feb 4, 2010 at 9:47 PM, Shashwat Anand <anand.shashwat at gmail.com>wrote:
>
>> I wanted some general suggestion/tips only
>>
>>
>> On Thu, Feb 4, 2010 at 5:11 PM, Chris Rebert <clp2 at rebertia.com> wrote:
>>
>>> On Thu, Feb 4, 2010 at 2:39 AM, Shashwat Anand <anand.shashwat at gmail.com>
>>> wrote:
>>> > Given 'n' circles and the co-ordinates of their center, and the radius
>>> of
>>> > all being equal i.e. 'one', How can I take out the intersection of
>>> their
>>> > area.
>>>
>>> How is this at all specific to Python?
>>>
>>> This also sounds suspiciously like homework, which you should know
>>> this list is unlikely to give direct answers to, though you might be
>>> able to get a few pointers or some general suggestions.
>>>
>>> Cheers,
>>> Chris
>>> --
>>> Back to toiling away on CSE 105 HW#3
>>> http://blog.rebertia.com
>>>
>>
>>
>> --
>> http://mail.python.org/mailman/listinfo/python-list
>>
>>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100204/5e21a221/attachment.html>


More information about the Python-list mailing list