Chapter2-Ideal and real gases

Ex1-pg36

In [2]:
##Part A Chapter 2 Example 1 pg no 36
##find the molecular weight of gas
cp=2.286;##kJ/kgK
cv=1.768;##kJ/kgK
Rbar=8.3143;##universal gas constant
R=cp-cv;##kJ/kgK
M=Rbar/R;##kg/kg.mol.(Molecular weight)
print"%s %.2f %s"%("Molecular weight of gas = ",M," kg/kg.mol.");
Molecular weight of gas =  16.05  kg/kg.mol.