summaryrefslogtreecommitdiff
path: root/647/CH9/EX9.11
diff options
context:
space:
mode:
Diffstat (limited to '647/CH9/EX9.11')
-rwxr-xr-x647/CH9/EX9.11/Example9_11.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/647/CH9/EX9.11/Example9_11.sce b/647/CH9/EX9.11/Example9_11.sce
new file mode 100755
index 000000000..dfb750d00
--- /dev/null
+++ b/647/CH9/EX9.11/Example9_11.sce
@@ -0,0 +1,24 @@
+clear;
+clc;
+
+// Example: 9.11
+// Page: 354
+
+printf("Example: 9.11 - Page: 354\n\n");
+
+// Solution
+
+//*****Data******//
+x1 = 0.3;// [mole fraction of hydrogen in the mixture]
+x2 = 0.25;// [mole fraction of nitrogen in the mixture]
+x3 = 0.45;// [mole fraction of oxygen in the mixture]
+phi1 = 0.7;// [fugacity coeffecient of oxygen in the mixture]
+phi2 = 0.85;// [fugacity coeffecient of nitrogen in the mixture]
+phi3 = 0.75;// [fugacity coeffecient of oxygen in the mixture]
+P = 60;// [bar]
+T = 273 + 150;// [K]
+//***********//
+
+phi = exp(x1*log(phi1) + x2*log(phi2) + x3*log(phi3));// [fugacity coeffecient of the mixture]
+f = phi*P;// [bar]
+printf("Fugacity of the gaseous mixture is %.3f bar",f); \ No newline at end of file