diff options
Diffstat (limited to '1460/CH12/EX12.7/12_7.sce')
-rwxr-xr-x | 1460/CH12/EX12.7/12_7.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1460/CH12/EX12.7/12_7.sce b/1460/CH12/EX12.7/12_7.sce new file mode 100755 index 000000000..12e12a842 --- /dev/null +++ b/1460/CH12/EX12.7/12_7.sce @@ -0,0 +1,12 @@ +clc
+//initialization of variables
+P=14.5 //lb/in^2
+T=70+460 //R
+rh=0.34
+//calculations
+disp("From steam tables,")
+Pg=0.3631 //lb/in^2
+Pair=P-Pg
+wratio=rh*0.622*Pg/Pair
+//results
+printf("Specific humidity = %.5f lbm/lbm",wratio)
|