Chapter 1 Survey Of Units And Dimensions

Ex:1.1 Pg: 19

In [1]:
#Initialization of variables
gc=32.1739 #lbm ft/lbf s**2
m=10 #lbm
a=10 #ft/s**2
#calculations
F=m*a/gc
#results
print "Force to accelerate = %.3f lbf"%(F)
Force to accelerate = 3.108 lbf

Ex:1.2 Pg: 19

In [2]:
#Initialization of variables
gc=32.1739 #lbm ft/lbf s**2
m=10 #lbm
a=gc #ft/s**2
#calculations
F=m*a/gc
#results
print "Force to accelerate = %d lbf"%(F)
Force to accelerate = 10 lbf

Ex:1.3 Pg: 19

In [3]:
#Initialization of variables
v=88 #ft/s
#calculations
v2=v*3600/5280
#results
print "velocity = %d mph"%(v2)
velocity = 60 mph

Ex:1.4 Pg: 20

In [8]:
#Initialization of variables
v=88 #ft/s
#calculations
v2=v*1/5280*3600
#results
print "velocity = %d mph"%(v2)
velocity = 0 mph

Ex:1.5 Pg: 20

In [9]:
#Initialization of variables
F=5e-9 #lbf/ft**2 hr
g=32.1739
#calculations
F2=F*3600*g
#results
print "Force without dimensions = %.2e lbm/ft sec"%(F2)
Force without dimensions = 5.79e-04 lbm/ft sec

Ex:1.6 Pg: 21

In [10]:
#Initialization of variables
rho=62.305 #lbf/ft**2
g=32.1739 #ft/s**2
#calculations
gam=rho/g
#results
print "Density of water in this system = %.3f lbf/ft**2"%(gam)
print "\n Specific weight = %.3f lbf/ft**2"%(rho)
Density of water in this system = 1.937 lbf/ft**2

 Specific weight = 62.305 lbf/ft**2