diff options
Diffstat (limited to '572/CH14/EX14.10/c14_10.sce')
-rwxr-xr-x | 572/CH14/EX14.10/c14_10.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/572/CH14/EX14.10/c14_10.sce b/572/CH14/EX14.10/c14_10.sce new file mode 100755 index 000000000..ffb26f166 --- /dev/null +++ b/572/CH14/EX14.10/c14_10.sce @@ -0,0 +1,18 @@ +//(14.10) A closed system at a temperature of 20C and a pressure of 1 bar consists of a pure liquid water phase in equilibrium with a vapor phase composed of water vapor and dry air. Determine the departure, in percent, of the partial pressure of the water vapor from the saturation pressure of water at 20C.
+
+
+
+//solution
+//With data from Table A-2 at 20C,
+vf = 1.0018e-3 //in m^3/kg
+psat = .0239 //in bar
+p = 1 //in bar
+T = 293.15 //in kelvin
+
+Rbar = 8.314 //universal gas constant in SI units
+M = 18.02 //molat mass of water in kg/kmol
+
+pvbypsat = %e^(vf*(p-psat)*10^5/[(1000*Rbar/M)*T])
+
+percent = (pvbypsat-1)*100
+printf('the departure, in percent, of the partial pressure of the water vapor from the saturation pressure of water at 20 is: %f',percent)
\ No newline at end of file |