A capsule is a three-dimensional geometric shape comprised of a cylinder and two hemispherical ends, where a hemisphere is half a sphere. It follows that the volume of a capsule can be calculated by combining the volume equations for a sphere and a right circular cylinder
π = 3.1416 , R = 5 m , H = 10 m
Volume (V) = π * R 2 * ((4/3) * R + H)
Volume (V) = 3.14 * 5 2 * ((4/3) * 5 +10)
Volume (V) = 1309 m3