diff options
Diffstat (limited to '1709/CH10/EX10.4')
-rwxr-xr-x | 1709/CH10/EX10.4/10_4.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1709/CH10/EX10.4/10_4.sce b/1709/CH10/EX10.4/10_4.sce new file mode 100755 index 000000000..cc63d38a3 --- /dev/null +++ b/1709/CH10/EX10.4/10_4.sce @@ -0,0 +1,12 @@ +clc
+//Initialization of variables
+Pg=2.8886 //psia
+P=25 //psia
+phi=0.5
+//calculations
+pv=phi*Pg
+pa=P-pv
+w=0.622*pv/pa
+x=(w)/(1+w)
+//results
+printf("Mass fraction of water vapor in the mixture = %.4f lbm vapor/ lvm mixture",x)
|