Two Ways to Find the Moment of Inertia Tensor for a Solid Cube

Here is both an analytical and a Monte Carlo method for finding the moment of inertia tensor for a solid cube. Code here: https://trinket.io/glowscript/2fa081c83d Monte Carlo