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 /611/CH8/EX8.2 | |
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 '611/CH8/EX8.2')
-rwxr-xr-x | 611/CH8/EX8.2/Chap8_Ex2_R1.sce | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/611/CH8/EX8.2/Chap8_Ex2_R1.sce b/611/CH8/EX8.2/Chap8_Ex2_R1.sce new file mode 100755 index 000000000..72678dbe6 --- /dev/null +++ b/611/CH8/EX8.2/Chap8_Ex2_R1.sce @@ -0,0 +1,26 @@ +// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-8,Example 2,Page 275
+//Title: Enthalpy and entropy departure
+//================================================================================================================
+clear
+clc
+
+//INPUT
+T=427.85;//temperature of n-octane vapour in K
+P=0.215;//pressure of n-octane vapour in MPa
+a=3.789;//van der Waals constant in Pa (m^3/mol)^2
+b=2.37*10^-4;//van der Waals constant in m^3/mol
+v=15.675*10^-3;//volume occupied by n-octane vapour taken from Example (3.8) in m^3/mol
+R=8.314;//universal gas constant in J/molK
+
+//CALCULATION
+//n-octane obeys the van der Waals equation of state
+dep_h=(P*10^6*v)-(R*T)-(a/v);//calculation of the enthalpy departure using Example(8.1) in J/mol
+dep_s=R*log ((P*10^6*(v-b))/(R*T));//calculation of the entropy departure using Example(8.1) in J/molK
+
+//OUTPUT
+mprintf("\n The enthalpy departure for n-octane vapour = %0.2f J/mol\n",dep_h);
+mprintf("\n The entropy departure for n-octane vapour = %0.4f J/mol K\n",dep_s);
+
+//===============================================END OF PROGRAM===================================================
|