Formula to calculate the volume of a spherical cap:
\( V = \frac{h^2}{3} \left( 3R - h \right) \pi \)