Write a computer program that, for a body with known mass moments and products of inertia can be used to calculate the principal mass moments of inertia K1, K2, and K3 of the body at the origin. Use this program to solve part a of
(a) Prob. 9.180,
(b) Prob. 9.181,
(c) Prob. 9.184.