summaryrefslogtreecommitdiff
path: root/926/CH3/EX3.2/Chapter3_Example2.sce
diff options
context:
space:
mode:
Diffstat (limited to '926/CH3/EX3.2/Chapter3_Example2.sce')
-rw-r--r--926/CH3/EX3.2/Chapter3_Example2.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/926/CH3/EX3.2/Chapter3_Example2.sce b/926/CH3/EX3.2/Chapter3_Example2.sce
new file mode 100644
index 000000000..ee3759acb
--- /dev/null
+++ b/926/CH3/EX3.2/Chapter3_Example2.sce
@@ -0,0 +1,26 @@
+//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 2, Page 54
+//Title: Calculation of weight
+//=============================================================================
+clear
+clc
+
+//INPUT
+V2 = 100; //Volume of water vapor in cu ft
+MW = 18; //Molecular weight of water vapor in lb/lb mole
+P1 = 760; //Pressure at standard conditions in mm Hg
+T1 = 273; //Temperature at standard conditions in K
+P2 = 15.5; //Given pressure in mm Hg
+T = 23; //Given temperature in degree C
+
+//CALCULATIONS
+T2 = T+273; //Given temperature in K
+V1 = V2*(P2/P1)*(T1/T2); //Volume of water vapor at standard conditions in Cu ft
+n = V1/359; //Moles of water vapor in lb mole
+W = n*MW; //Weight of water vapor in lb
+
+//OUTPUT
+mprintf('\n Weight of %3.0f cu ft of water vapor at given conditions is %5.4f lb',V2,W);
+
+//=================================END OF PROGRAM============================== \ No newline at end of file