diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /926/CH2/EX2.3/Chapter2_Example3.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '926/CH2/EX2.3/Chapter2_Example3.sce')
-rw-r--r-- | 926/CH2/EX2.3/Chapter2_Example3.sce | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/926/CH2/EX2.3/Chapter2_Example3.sce b/926/CH2/EX2.3/Chapter2_Example3.sce new file mode 100644 index 000000000..d1232a7a4 --- /dev/null +++ b/926/CH2/EX2.3/Chapter2_Example3.sce @@ -0,0 +1,34 @@ +//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-2, Illustration 3, Page 31
+//Title: Calculation of weight and volume from reaction stoichiometry
+//=============================================================================
+clear
+clc
+
+//INPUT
+w1 = 100; //Weight of hydrogen in lb(Basis of calculation)
+MW = [55.84,18.02,231.5,2.016]; //Atomic weight of iron, Steam, ferric oxide, hydrogen in lb/lb-mole
+//From the reaction stoichiometry
+stoic = [3,4,1,4]; //Stoichiometric coefficient of Fe, H2O, Fe3O4, H2
+
+//CALCULATION
+//part(a)
+n1 = w1/MW(4); //Moles of hydrogen produced in lb mole
+n2 = n1*stoic(1)/stoic(4); //Atoms of iron required in lb atom
+w2 = n2*MW(1); //Weight of iron required in lb
+n3 = n1*stoic(2)/stoic(4); //Moles of Steam required in lb mole
+w3 = n3*MW(2); //Weight of steam required in lb
+n4 = n1*stoic(3)/stoic(4); //Moles of ferric oxide required in lb mole
+w4 = n4*MW(3); //Weight of ferric oxide required in lb
+M1 = w2+w3; //Total input in lb
+M2 = w1+w4; //Total output in lb
+//part(b)
+v = n1*359; //volume of hydrogen at standard conditions in cu ft
+
+//OUTPUT
+mprintf('\n (a) To produce %3.0f lb of hydrogen, the weight of iron and steam required is %4.0f lb and %3.0f lb respectively',w1,w2,w3);
+mprintf('\n The weight of ferric oxide formed = %4.0f lb',w4);
+mprintf('\n (b) Volume occupied by hydrogen at standard conditions = %5.0f cu ft',v);
+
+//============================END OF PROGRAM===================================
|