diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /479/CH14/EX14.11/Example_14_11.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '479/CH14/EX14.11/Example_14_11.sce')
-rwxr-xr-x | 479/CH14/EX14.11/Example_14_11.sce | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/479/CH14/EX14.11/Example_14_11.sce b/479/CH14/EX14.11/Example_14_11.sce new file mode 100755 index 000000000..f16386146 --- /dev/null +++ b/479/CH14/EX14.11/Example_14_11.sce @@ -0,0 +1,30 @@ +//Chemical Engineering Thermodynamics
+//Chapter 14
+//Thermodynamics of Chemical Reactions
+
+//Example 14.11
+clear;
+clc;
+
+//Given
+//Basis: 1 Kgmole of benzene
+//C6H6 (A) + HNO3 (B) - C6H5NO2 (C) + H2O (D)
+T = 298;//Temperature in K
+R = 1.98;//gas constant in Kcal/Kgmole K
+//Standard enthalpy in Kcal/Kgmole at 25 deg celsius of the above components are given as
+H_A = 11718;
+H_B = -41404;
+H_C = -68371;
+H_D = 3800;
+//Standard entropy in Kcal/Kgmole K at 25 deg celsius of the above components are given as
+S_A = 41.30;
+S_B = 37.19;
+S_C = 16.72;
+S_D = 53.60;
+
+//To Calculate the conversion of benzene at 25 degree celsius and 1 atm
+del_F = (H_C+H_D-(T*(S_C+S_D)))-(H_A+H_B-(T*(S_A+S_B)));
+Ka = %e^(-del_F/(R*T));//Equilibrium constant
+x = (Ka^(1/2)/(1+(Ka^(1/2))));
+mprintf('The conversion is almost %f percent for this reaction.',x*100);
+//end
\ No newline at end of file |