summaryrefslogtreecommitdiff
path: root/2870/CH16/EX16.8/Ex16_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '2870/CH16/EX16.8/Ex16_8.sce')
-rwxr-xr-x2870/CH16/EX16.8/Ex16_8.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2870/CH16/EX16.8/Ex16_8.sce b/2870/CH16/EX16.8/Ex16_8.sce
new file mode 100755
index 000000000..c12f000cd
--- /dev/null
+++ b/2870/CH16/EX16.8/Ex16_8.sce
@@ -0,0 +1,16 @@
+clc;clear;
+//Example 16.8
+
+//given data
+T=15;
+P=92;
+
+//from Table A-4
+Pv=1.7057;
+
+//calculations
+yv=Pv/P;
+disp(yv,'mole fraction of water vapor at the surface');
+yw=1-yv;
+yw=round(yw)
+disp(yw,'mole fraction of water in the lake')