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/CH3/EX3.5 | |
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/CH3/EX3.5')
-rw-r--r-- | 926/CH3/EX3.5/Chapter3_Example5.sce | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/926/CH3/EX3.5/Chapter3_Example5.sce b/926/CH3/EX3.5/Chapter3_Example5.sce new file mode 100644 index 000000000..cda2af729 --- /dev/null +++ b/926/CH3/EX3.5/Chapter3_Example5.sce @@ -0,0 +1,29 @@ +//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 5, Page 55
+//Title: Calculation of percentage dissociation of gas
+//=============================================================================
+clear
+clc
+
+//INPUT
+W = 17.2; //Weight of N2O4 in grams
+V1 = 11450; //Volume occupied by N2O4 in cc
+P1 = 720; //Given pressure in mm hg
+T = 100; //Given temperature in degree C
+MW = 92; //Molecular weight of N2O4 in g/g mole
+V2 = 22400; //Volume at standard conditions in cc
+P2 = 760; //Pressure at standard conditions in mm Hg
+T2 = 273; //Temperature at standard conditions in K
+
+//CALCULATIONS
+T1 = T+273; //Given temperature in K
+n1 = W/MW; //No of moles of N2O4 initially present in g mole
+n2 = (V1/V2)*(T2/T1)*(P1/P2); //Total g moles present after dissociation
+x = n2-n1; //g moles of N2O4 dissociated
+X = x*100/n1; //Percentage dissociation
+
+//OUTPUT
+mprintf('\n Percentage dissociation of N2O4 to NO2 is %2.0f percent',X);
+
+//=========================END OF PROGRAM======================================
\ No newline at end of file |