import math
#calcualte weight and N
E=210*10**9. ##Pa
d=100. ##mm
t=50 ##mm
A=0.005
Iz=0.05*(0.1**3)/12.
print(Iz)
Iy=0.1*(0.05**3)/12
print(Iy)
##r=sqrt(Iy/A)
r= math.sqrt(Iy/A)
print(r)##mm
L=2.75
##P=W/tand(15)=3.732
Pcr=(math.pi**2.*E*Iz)/L**2.
print'%s %.2f %s'%("into W is= ",Pcr,"")
W=Pcr/3.732
print'%s %.2f %s'%("in N is= ",W,"")
Pcr=(math.pi**2*E*Iy)/L**2.
print'%s %.2f %s'%("into W is= ",Pcr,"")
W=Pcr/3.732
print'%s %.2f %s'%("in N is= ",W,"")
## Ans varies due to round of error