summaryrefslogtreecommitdiff
path: root/2870/CH16/EX16.9/Ex16_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '2870/CH16/EX16.9/Ex16_9.sce')
-rwxr-xr-x2870/CH16/EX16.9/Ex16_9.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2870/CH16/EX16.9/Ex16_9.sce b/2870/CH16/EX16.9/Ex16_9.sce
new file mode 100755
index 000000000..ecfe70504
--- /dev/null
+++ b/2870/CH16/EX16.9/Ex16_9.sce
@@ -0,0 +1,17 @@
+clc;clear;
+//Example 16.9
+
+//given data
+T=17;
+P=92;
+
+//from Table A-4
+Pv=1.96;
+
+//constants from Table 16-2
+H=62000;
+
+//calculations
+Pda=P-Pv;//dry air
+yda=Pda/H/100;//in bar
+disp(yda,'mole fraction of air')