summaryrefslogtreecommitdiff
path: root/611/CH3/EX3.11/Chap3_Ex11_R1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /611/CH3/EX3.11/Chap3_Ex11_R1.sce
downloadScilab-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/CH3/EX3.11/Chap3_Ex11_R1.sce')
-rwxr-xr-x611/CH3/EX3.11/Chap3_Ex11_R1.sce31
1 files changed, 31 insertions, 0 deletions
diff --git a/611/CH3/EX3.11/Chap3_Ex11_R1.sce b/611/CH3/EX3.11/Chap3_Ex11_R1.sce
new file mode 100755
index 000000000..e4835b4d4
--- /dev/null
+++ b/611/CH3/EX3.11/Chap3_Ex11_R1.sce
@@ -0,0 +1,31 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-3,Example 11,Page 72
+//Title:Volume using two paramter and three parameter compressibility factor correlation
+//================================================================================================================
+clear
+clc
+
+//INPUT
+T=409.41;//temperature of n-octane in degree celsius
+P=4.98;//pressure in bar
+Tc=569.4;//critical temperature of n-octane in K
+Pc=24.97;//critical pressure of n-octane in bar
+w=0.398;//acentric factor (no unit)
+R=8.314;//universal gas constant in (Pa m^3)/(mol K)
+
+//CALCULATION
+Tr=(T+273.15)/Tc;//calculation of reduced temperature (no unit)
+Pr=P/Pc;//calculation of reduced pressure (no unit)
+z0=0.96;//value of compressibilty factor at tr and pr obtained from Fig.3.11
+V1=(z0*R*(T+273.15))/(P*10^5);//calculation of volume in m^3/mol using the two parameter compressibilty factor correlation
+z1=0.01;//value of compressibilty factor at tr and pr obtained from Fig.3.12
+z=z0+(w*z1);//calculation of compressibility factor using Eq.3.64
+V2=(z*R*(T+273.15))/(P*10^5);//calculation of volume in m^3/mol using the three parameter compressibility factor correlation
+
+//OUTPUT
+mprintf('\n The volume occupied by n-octane obtained by the two parameter compressibilty factor correlation= %f m^3/mol\n',V1);
+mprintf('\n The volume occupied by n-octane obtained by the three parameter compressibility factor correlation= %f m^3/mol\n',V2);
+
+
+//===============================================END OF PROGRAM===================================================