🎬how to calculate mass in a non-uniform density field by using volume integration

The two density distribution demonstrations showcase how mass accumulates in various 3D geometries under a spherically dependent quadratic density function (ρ(x)∝r2)\left(\rho(x) \propto r^2\right). The first visualization compared a cube and a sphere, revealing that the sphere contains significantly more mass relative to its volume because its uniform boundary maximizes the capture of high-density material far from the origin. The second, more complex demo extended this principle to an ellipsoid and a torus, effectively illustrating that mass is concentrated along the parts of the objects farthest from the coordinate center (e.g., the outer shell of the ellipsoid and the large outer rim of the torus), visually confirming that the total mass calculations are dominated by the regions where the radial distance $r$ is maximized.

🎬Narrated Video

πŸ§„Total Mass in a Cube vs. a Sphere (TM-CS)chevron-right

βš’οΈCompound Page

Last updated