summaryrefslogtreecommitdiff
path: root/611/CH3/EX3.10/Chap3_Ex10.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.10/Chap3_Ex10.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.10/Chap3_Ex10.sce')
-rwxr-xr-x611/CH3/EX3.10/Chap3_Ex10.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/611/CH3/EX3.10/Chap3_Ex10.sce b/611/CH3/EX3.10/Chap3_Ex10.sce
new file mode 100755
index 000000000..1d38a33e2
--- /dev/null
+++ b/611/CH3/EX3.10/Chap3_Ex10.sce
@@ -0,0 +1,26 @@
+// Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
+
+//Chapter-3,Example 10,Page 67
+//Title:Acentric factor
+//================================================================================================================
+clear
+clc
+
+//INPUT
+T=180;//temperature of water in degree celsius
+P=1.0027;//saturation pressure of water in MPa
+Tc=647.3;//critical temperature of water in K
+Pc=221.2;//critical pressure of water in bar
+Tr=0.7;//reduced temperature at which acentric factor was defined by Pitzer
+
+//CALCULATION
+T1=Tr*Tc;//calculating temperature in K using reduced temperature value
+T1=T1-273.15;//conversion to degree celsius
+Pr=(P*10)/Pc;//calculation of reduced pressure (no unit) using saturation pressure at t1. In this case t1 equals t, therefore the given saturation pressure is taken
+w=-log10(Pr)-1.0;//calculation of acentric factor using Eq.(3.62)
+
+////OUTPUT
+mprintf('\n The acentric factor of water= %f \n',w);
+
+
+//===============================================END OF PROGRAM===================================================