morjo
- 2
- 0
Ok, so a cube and a sphere are both centered at origo. The cube has side lengths L. I need to know the surface area of the part of the sphere that is inside the cube, for all possible r. There will be three different equations, one for 0 < r < L/2, when the entire sphere is inside the cube, one for L/2 < r < L/\sqrt(2), when six spherical caps of the sphere stick out of the cube sides , and one for L/\sqrt(2) < r < L\sqrt(3) / 2, when only the corners of the cube is visible. I have figured out the two first, but not the last.
Any help would be greatly appreciated!
Any help would be greatly appreciated!