Prim is primitive!
In genral the moment of inertia around an axis( a line) L is:
Isubl=double prim (dist(.,L)^2*delta*dA)
The collection of lines parallel to the y axis have the form x=a .Let I=Isub(y) be the usual moment of inertia around the y axis
I= double prim of x^2*delta*dA
Let I(bar) be the moment of inertia around the axis x=x(bar), where (x(bar),y(bar) is the center of mass.
I=I(bar) + M*(x(bar))^2
This is known as the parallel axis theorem© BrainMass Inc. brainmass.com December 24, 2021, 5:04 pm ad1c9bdddf