Chapter11-Elastic Stability

Ex1-pg319

In [1]:
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
4.16666666667e-06
1.04166666667e-06
0.0144337567297
into W is=  1141937.70 
in N is=  305985.45 
into W is=  285484.42 
in N is=  76496.36