summaryrefslogtreecommitdiff
path: root/926/CH3/EX3.6/Chapter3_Example6.sce
diff options
context:
space:
mode:
Diffstat (limited to '926/CH3/EX3.6/Chapter3_Example6.sce')
-rw-r--r--926/CH3/EX3.6/Chapter3_Example6.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/926/CH3/EX3.6/Chapter3_Example6.sce b/926/CH3/EX3.6/Chapter3_Example6.sce
new file mode 100644
index 000000000..a079b3f4b
--- /dev/null
+++ b/926/CH3/EX3.6/Chapter3_Example6.sce
@@ -0,0 +1,25 @@
+//Hougen O.A., Watson K.M., Ragatz R.A., 2004. Chemical process principles Part-1: Material and Energy Balances(II Edition). CBS Publishers & Distributors, New Delhi, pp 504
+
+//Chapter-3, Illustration 6, Page 59
+//Title: Calculation of Average molecular weight
+//=============================================================================
+clear
+clc
+
+//INPUT
+N = 1; //Total no moles of mixture
+V = [13.1,7.7,79.2]; //Composition of Carbon dioxide, Oxygen and nitrogen respectively by volume %
+MW = [44,32,28]; //Molecular weight of CO2, O2 and N2 respectively in g/g mole
+
+//CALCULATION
+n = V/100; // No of moles of CO2, O2, n2 in g mole
+W1 = n(1)*MW(1); //Weight of CO2 in grams
+W2 = n(2)*MW(2); //Weight of O2 in grams
+W3 = n(3)*MW(3); //Weight of N2 in grams
+W = W1+W2+W3; //Total weight of flue gas in grams
+AV_MW = W/N; //Average molecular weight of flue gas in g/g mole
+
+//OUTPUT
+mprintf('\n The average molecular weight of flue gas is %4.2f g/g mole',AV_MW);
+
+//========================END OF PROGRAM====================================== \ No newline at end of file