Problem 58409. Calculate the volume of the intersection of two balls
Consider two balls (solid spheres) in 
, with radius 
 and 
 respectively. Suppose that the distance between the centers of the two balls is 
. Please find the volume of the intersection of the two balls.
Illustration:
[X, Y, Z] = sphere(36);
r1 = 1;
r2 = 0.8;
c2 = [0.6 -0.8 0];
surf(X * r1, Y * r1, Z * r1)
hold on
surf(X * r2 + c2(1), Y * r2 + c2(2), Z * r2 + c2(3))
hold off
axis equal
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers11
Suggested Problems
- 
         
         
1962 Solvers
 - 
         
Remove the small words from a list of words.
1544 Solvers
 - 
         
Detect a number and replace with two NaN's
195 Solvers
 - 
         
         
275 Solvers
 - 
         
         
495 Solvers
 
More from this Author19
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!