how To Calculate Capsule Volume ?
Capsule Volume =π * radius2 * ( 4/3 * radius + height) .
ex : Rectangle have radius = 15, height = 20 .
Volume = π * 152 * ( 4/3 * 15 + 20) = 28274.33 m3.
π = 3.14159265359
Capsule is a basic three-dimensional geometric shape consisting of a cylinder with hemispherical ends. Another name for this shape is spherocylinder