//Second moment of Inertia //refer fig. 9.37 A1=100*13.5 //mm^2 A2=(400-27)*8.1 //mm^2 A3=100*13.5 //mm^2 A=A1+A2+A3 //mm^2 Ixx=((100*13.5^3)/12)+(1350*193.25^2)+((8.1*373^3)/12)+((100*13.5^3)/12)+(1350*193.25^2) //mm^4 Iyy=((13.5*100^3)/12)+(1350*24.27^2)+((373*8.1^3)/12)+(3021.3*21.68^2)+((13.5*100^3)/12)+(1350*24.27^2) printf("\nIxx=%.2d mm^4\nIyy=%.2d mm^4",Ixx,Iyy)