#calculate the volume of the gas
#Initialization of variables
p=14.7 #psia
R0=1545
t=460 +60. #R
#calculations
v=R0*t/(p*144.)
#results
print '%s %.1f %s' %("Volume =",v,"ft^3/mol")
#calculate the density of nitrogen
#Initialization of variables
p=20 #psia
R0=1545.
t=460. +100 #R
M=28.
#calculations
v=R0*t/(p*144*M)
rho=1/v
#results
print '%s %.4f %s' %("density of nitrogen =",rho,"lbm/ft^3")