summaryrefslogtreecommitdiff
path: root/1328/CH17/EX17.1/17_1.sce
blob: a8e5bc6be7f8b231e362b1c8ad749202e53c3f52 (plain)
1
2
3
4
5
6
7
8
9
10
11
printf("\t example 17.1 \n");
pw=0.4298; // psia, at 75F, table 7
pt=14.696; // psia
t=75;
Mw=18;
Ma=29;
X=(pw/(pt-pw))*(Mw/Ma);
printf("\t humidity is : %.4f lb water/lb air \n",X);
H=(X*t)+(1051.5*X)+(0.24*t); // eq 17.54
printf("\t enthalpy at 75F is : %.1f Btu/lb dry air \n",H);
// end