I have a solid cube with its dimensions 2 units in length. I have drillbit of radius 1 unit.
I drill a hole through the centre of each face through to the other side.
When I have finished I am left with 8 identicle corner shapes.
I would like to see the all working for the calculation of the volume of one of these corner bits?
The actual volume was provided in part 1 of the question, see :
http://www.expertsexchange.com/Miscellaneous/Math_Science/Q_21095902.html
I would now like to see how the formula was arrived at.
 y

*
 *
 *
 *
+* x
/
/
/
/
/ z
The zaxis should be at 45 degrees. I have also drawn the hole intersection with the xy face. Consider the radii to be == 1. At the end, you only need to multiply the result by r³ to have the generic volume formula.
The three circles have equations:
(x  1)² + (y  1)² = 1
(x  1)² + (z  1)² = 1
(y  1)² + (z  1)² = 1
If you draw the other two holes and imagine the three cylinders, you will see that they meet in a point that, looking at the drawing, should be a bit higher and on the right of the origin. That point, being the intersection of the three cylinders, has all three coordinates = 1  sqrt(2)/2. Let's call this point C (C for cusp) and indicate with "A" the value 1  sqrt(2)/2.
The parallel to the Z axis passing through C intersects the circle on xy in the point Pxy = (A,A,0). Similarly, the parallel to the Y axis through C intersect the circle on xz in the point Pxz = (A,0,A). The parallel to the Y axis through Pxy and the parallel to the Z axis through Pxz meet on the X axis in the point Px = (A,0,0).
Now, the four points C, Pxy, Pxz, and Px form a square of side A. The volume of the pyramid formed by the square itself and the origin is given by A³/3, because the height along the X axis is precisely A.
Now we have to calculate the other funny shape left for x comprised between A and 1. This is defined by the X axis and by three curves: an arc of circle on the xy plane, an arc of circle on the xz plane, and the arc of intersection between the two cylinders with axes perpendiclar to the xy and xz planes.
Now it is time to resolve (x  1)² + (y  1)² = 1. It gives y = sqrt(2x  x²)  1. Similarly,
z = sqrt(2x  x²)  1.
The intersections of the funny shape with planes parallel to the yz plane are all squares delimited by points with coordinates
(x,0,0)
(x,sqrt(2x  x²)  1,0)
(x,0,sqrt(2x  x²)  1)
(x,sqrt(2x  x²)  1,sqrt(2x  x²)  1)
The area of these intersections is therefore given by (sqrt(2x  x²)  1)². To calculate the volume you only need to integrate (sqrt(2x  x²)  1)²dx for x between A and 1. You then add A³/3 and you have the volume of 1/3 of one of the 8 pieces left after drilling the holes.
The integral should be calculable (but I am a bit rusty with those). Whether the final result is
8*(1  PI*5/12)
I cannot really say. sqrt(2x x²) = sqrt(1  t²) with t = x1. You can then possibly set t = sin(a) and get rid of the sqrt. The PI in the result will probably come out of an arctg (or arcsin or arccos) function.
Now that you have opened a new question, I might complete the solution of the integral :)