diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2417/CH7/EX7.15/Ex7_15.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2417/CH7/EX7.15/Ex7_15.sce')
-rwxr-xr-x | 2417/CH7/EX7.15/Ex7_15.sce | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/2417/CH7/EX7.15/Ex7_15.sce b/2417/CH7/EX7.15/Ex7_15.sce new file mode 100755 index 000000000..2a3bdef18 --- /dev/null +++ b/2417/CH7/EX7.15/Ex7_15.sce @@ -0,0 +1,26 @@ +//scilab 5.4.1
+clear;
+clc;
+printf("\t\t\tProblem Number 7.15\n\n\n");
+// Chapter 7 : Mixtures Of Ideal Gases
+// Problem 7.15 (page no. 343)
+// Solution
+
+//Problem 7.14 using equations, Rm=((ma/(ma+mv))*Ra)+((mv/(ma+mv))*Rv) and phy*pvs=pv
+W=0.005; //Humidity ratio
+pm=14.7; //mixture is at 14.7 psia
+//W=0.622*(pv/(pm-pv))
+//Rearranging,
+pv=(W*pm)/(0.622+W); //the partial pressure of the water vapor
+printf("The partial pressure of the water vapor is %f psia\n",pv);
+pa=pm-pv; //pa=the partial pressure of the dry air in the mixture
+printf("The partial pressure of dry air is %f psia\n",pa);
+//It is necessary to obtain pvs from the Steam Tables at 90 F.This is 0.6988 psia.
+pvs=0.6988; //saturation pressure of water vapor at the temperature of mixture
+printf("The partial pressure of the water vapor at saturation is %f psia\n",pvs);
+//Therefore,
+phy=pv/pvs; //relative humidity
+printf("The relative humidity is %f percent\n",phy*100);
+//The dew point temperature is the saturation temperature corresponding to 0.117 psia,which is found from the Steam Tables to be 39 F.
+printf("The dew point temperature of the mixture is 39 F\n");
+//The results of this problem and problem 7.14 are in good agreement
|