Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6960
| From | Ray Koopman <koopman@sfu.ca> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Area of two intersecting circles |
| Date | 2011-12-06 08:15 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jbkiuj$i2g$1@smc.vnet.net> (permalink) |
| References | <jbf968$l4j$1@smc.vnet.net> |
On Dec 3, 11:58 pm, Scott Colwell <srcolw...@gmail.com> wrote:
> I have 2 disks named A and B. They both have the same radius.
> Is there a function in mathematica that will find the area of
> the intersection between the two circles?
Let the disks have radius 1, and let their centers be at 0,0 and 0,c.
Then the area of their intersection is
In[1]:= Assuming[0 < c < 2, 4 Integrate[
Boole[x^2 + y^2 < 1]*Boole[(x-c)^2 + y^2 < 1],
{x, c-1, c/2}, {y, 0, 1}]]
Out[1]= (1/2)*((-c)*Sqrt[4 - c^2] + 4*ArcCos[c/2])
That simplifies (manually) to
2*( ArcCos[c/2] - (c/2)*Sqrt[1 - (c/2)^2] ),
If we take c/2 = Cos[t/2]
then the area further simplifies to t - Sin[t].
For the general case, use
c/2 = (center-to-center distance)/(diameter)
and multiply the area by r^2.
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
Area of two intersecting circles Scott Colwell <srcolwell@gmail.com> - 2011-12-04 07:58 +0000
Re: Area of two intersecting circles David Skulsky <edskulsky@gmail.com> - 2011-12-05 10:18 +0000
Re: Area of two intersecting circles Scott Colwell <srcolwell@gmail.com> - 2011-12-06 08:17 +0000
Re: Area of two intersecting circles David Skulsky <edskulsky@gmail.com> - 2011-12-05 10:19 +0000
Re: Area of two intersecting circles "Dr. Wolfgang Hintze" <weh@snafu.de> - 2011-12-05 10:22 +0000
Re: Area of two intersecting circles Simon <simonjtyler@gmail.com> - 2011-12-05 10:24 +0000
Re: Area of two intersecting circles David Skulsky <edskulsky@gmail.com> - 2011-12-05 23:46 +0000
Re: Area of two intersecting circles Ray Koopman <koopman@sfu.ca> - 2011-12-06 08:15 +0000
csiph-web