Moment of Inertia for Simple Polygon

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
1 reply · 2K views
Jack2927
Messages
1
Reaction score
0
I am trying to determine if a function I have is working correctly. The function computes the moment of inertia for a polygon. To test the function I created a polygon that has 4 points and represents a square of 4 units by 4 units. The answer I am getting is 32. I believe the answer should be 42.6 based on J0= Ixx +Iyy, where Ixx = (bh^3)/12 and Iyy = (hb^3)/12.

The function I have is implementing the following.
upload_2016-7-8_18-15-57.png


Which is correct 32 or 42.6?
 
Engineering news on Phys.org
The correct polar moment of inertia for a square: J = a^4/6 where a= length of the sides
In your case: J = 4^4/6 = 42.666...