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


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

Re: Area of two intersecting circles

Started byAlexei Boulbitch <Alexei.Boulbitch@iee.lu>
First post2011-12-06 08:13 +0000
Last post2011-12-06 08:13 +0000
Articles 1 — 1 participant

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


Contents

  Re: Area of two intersecting circles Alexei Boulbitch <Alexei.Boulbitch@iee.lu> - 2011-12-06 08:13 +0000

#6958 — Re: Area of two intersecting circles

FromAlexei Boulbitch <Alexei.Boulbitch@iee.lu>
Date2011-12-06 08:13 +0000
SubjectRe: Area of two intersecting circles
Message-ID<jbkirc$i0f$1@smc.vnet.net>
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?





There is such a function. First let us look at your domain. Evaluate this:



Manipulate[

RegionPlot[

  x^2 + y^2 <= 1 && (x - x0)^2 + y^2 <= r, {x, 0, 3}, {y, -1, 1},

  PerformanceGoal -> "Quality"],

{x0, 0, 3}, {r, 1, 3}]



Let us define the integral:



int[x0_, r_] :=

 Integrate[

  Boole[x^2 + y^2 <= 1 && (x - x0)^2 + y^2 <= r], {x, 0,

   x0 + r}, {y, -r, r}];



Now let us try:



int[1.9,3]

1.06324

int[2,1]

0



Have fun.

Alexei BOULBITCH, Dr., habil.

IEE S.A.

ZAE Weiergewan,

11, rue Edmond Reuter,

L-5326 Contern, LUXEMBOURG



Office phone :  +352-2454-2566

Office fax:       +352-2454-3566

mobile phone:  +49 151 52 40 66 44



e-mail: alexei.boulbitch@iee.lu<mailto:alexei.boulbitch@iee.lu>





[toc] | [standalone]


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


csiph-web