Chapter 10 The pvt relationships

Ex:10.1 Pg:360

In [1]:
#Initialization of variables
m=1 #lbm
T1=212+460 #R
sv=0.193 #ft**3/lbm
M=44
a=924.2 #atm ft**2 /mole**2
b=0.685 #ft**3/mol
R=0.73 #atm ft**3/R mol
#calculations
v=sv*M
p=R*T1/v
p2=R*T1/(v-b) -a/v**2
#results
print "For ideal gas case, Table B-6 and for vanderwaals case, Table B-8 have been used"
print "\n In vanderwaals equation, pressure = %.1f atm"%(p2)
print "\n In ideal gas case, pressure = %.1f atm"%(p)
For ideal gas case, Table B-6 and for vanderwaals case, Table B-8 have been used

 In vanderwaals equation, pressure = 50.0 atm

 In ideal gas case, pressure = 57.8 atm

Ex:10.2 Pg:360

In [2]:
#Initialization of variables
m=1 #lbm
p=50.9 #atm
t=212+460 #R
R=0.73
#calculations
pc=72.9 #atm
tc=87.9 +460 #R
pr=p/pc
Tr=t/tc
z=0.88
v=z*R*t/p
#results
print "volume = %.3f ft**3/mole"%(v)
volume = 8.481 ft**3/mole

Ex:10.3 Pg:361

In [3]:
#Initialization of variables
t=212+460 #R
v=0.193 #ft**3/lbm
M=44
R=0.73
#calculations
tc=87.9+460 #F
zc=0.275
vc=1.51 #ft**3/mol
tr=t/tc
vr=v*M/vc
vrd=vr*zc
z=0.88
p=z*R*t/(M*v)
#results
print "Pressure = %.1f atm"%(p)
Pressure = 50.8 atm