Four unit point masses ( each) sit at the corners of a regular tetrahedron
PHYSICS · Multi-part · Fermi University Physics · Mathematical Methods for Physics · Computational Physics · Scientific programming for physicists
Scientific Computing for Physicists, Ch Arrays in memory: layout, cost and the data structures of physical problems
Problem
Four unit point masses (mk=1kg each) sit at the corners of a regular tetrahedron, at positions (in metres) r1=(1,1,1), r2=(1,−1,−1), r3=(−1,1,−1), r4=(−1,−1,1). The inertia tensor is the contraction Iij=∑kmk(rk2δij−rk,irk,j).
((a)) Write the second-moment tensor Sij=∑kmkrk,irk,j as a single einsum call on arrays m (shape (4,)) and r (shape (4,3)), and form Iij from S and the 3×3 identity matrix.
((b)) Evaluate Iij numerically for the positions given.
((c)) The tetrahedral arrangement has enough rotational symmetry that the inertia tensor should be isotropic, Iij=Iδij. State whether the computed tensor satisfies this and give I.