Mass of a Ball or Half-Ball

Resources

Remember: θ is the angle from the positive z-axis, and r = |OP|. In spherical coordinates the volume factor is r²·sin(θ).