Chapter 7:Moment of Inertia

Example 7.1, Page no.103

In [1]:
from math import sqrt
#variable declaration
b=30    #width of the secion in mm
d=40    #depth of the section in mm

#calculation
I_xx=b*d**3/12
I_yy=d*b**3/12

#Result
print"I_xx=",int(I_xx/1000),"*10^3 mm**4"
print"I_yy=",int(I_yy/1000),"*10^3 mm**4"
I_xx= 160 *10^3 mm**4
I_yy= 90 *10^3 mm**4
In [ ]: