## Volume of Intersection of a Cone with a Sphere

Hey,

im trying to write a program that computes Volume of Intersection of a Cone with a Sphere. Can anyone point me to the math i need to know.

Any links, material is good. Thanx
 PhysOrg.com physics news on PhysOrg.com >> Kenneth Wilson, Nobel winner for physics, dies>> Two collider research teams find evidence of new particle Zc(3900)>> Scientists make first direct images of topological insulator's edge currents
 sneez, Are you talking about: a) a specific cone and sphere, or b) do you want them to be arbitrarily defined with inputs to your program? a is easy; b isn't so easy, but it's doable (and it would be a lot cooler!)
 Yes b) would be more helpful. thanx sneez

## Volume of Intersection of a Cone with a Sphere

anyone knows......?
 Blog Entries: 47 Recognitions: Gold Member Homework Help Science Advisor An analytic expression (i.e., a formula) is probably not possible for an arbitrary cone and sphere. You might try to write a Monte-Carlo-type program. http://www.chem.unl.edu/zeng/joy/mclab/mcintro.html http://www.library.cornell.edu/nr/bookcpdf/c7-6.pdf

 An analytic expression (i.e., a formula) is probably not possible for an arbitrary cone and sphere.
I'm sure it is possible. I'll try to get this rigorous in a few hours when I have time - but in summary, you find the equations for 'membership' in each volume (the sphere, the cone), you rearrange them algebraically until they are expressed in terms of integrable parameters. For example:

-use the axis of the cone (parameter a or something)
-at arbitrary a, consider the disk at a bounded by the cone (in other words, the flat circle inside the cone orthogonal to its axis)
-extend this plane to infinity: all such planes have simple form ax+by+cz=d, where all a,b,c are fixed and depend on the cone's axis
-get the equation of the intersection of this plane with the sphere (it's either nothing, or a perfect circle [or a point, but that has no area...])
-get the equations of the area in the intersection of this circle, and the cone (two circles in the same plane - I'd probably first find the arbitrary formula for two circles, radius r1, r2, distance d apart - its not too hard to find) [special case to watch out for - one circle is inside the other]
-repeat, integrating over the axis of the cone ("a")

The integral should be reasonably analytical, if you integrate over precisely that length of the axis along which intersection occurs. Or if it doesn't work, first split the problem into the few possible kinds of intersection, identity the regions, and treat each case individually. I'll revisit this tonight.

-rachmaninoff
 P.S. I'd probably write this in Mathematica.
 Blog Entries: 47 Recognitions: Gold Member Homework Help Science Advisor Are you assuming a right-circular cone? with finite height? Are you assuming that the conical axis is radial? Is the vertex inside or outside the sphere? A probably not-so-pretty case ["for an arbitrary cone and a sphere"] is a cone with an exterior vertex whose axis is a secant line almost grazing the sphere.
 Plz see the attachment. This is a radar which orbits an earth. Im interested in the area marked in red color. You have to picture it in 3d plus the sattelite signal changes heights as it moves around earth as it scans up and down (but we could omit that for now). I just need some lead on the math involved....... thanx for help Attached Thumbnails

 Similar discussions for: Volume of Intersection of a Cone with a Sphere Thread Forum Replies Classical Physics 4 Calculus & Beyond Homework 23 Calculus & Beyond Homework 5 Introductory Physics Homework 2 General Math 2