summaryrefslogtreecommitdiff
path: root/479/CH13/EX13.2/Example_13_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /479/CH13/EX13.2/Example_13_2.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 '479/CH13/EX13.2/Example_13_2.sce')
-rwxr-xr-x479/CH13/EX13.2/Example_13_2.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/479/CH13/EX13.2/Example_13_2.sce b/479/CH13/EX13.2/Example_13_2.sce
new file mode 100755
index 000000000..a770036e1
--- /dev/null
+++ b/479/CH13/EX13.2/Example_13_2.sce
@@ -0,0 +1,22 @@
+//Chemical Engineering Thermodynamics
+//Chapter 13
+//Thermodynamics in Phase Equilibria
+
+//Example 13.2
+clear;
+clc;
+
+//Given
+P1 = 50*1.03*10^4;//Initial pressure in Kgf/sq m
+T = 373;//Temperature in K
+P2 = 1.03*10^4;//Final pressure in Kgf/sq m
+V = 0.001*18;//Volume in cubic meter
+R = 848;//gas constant in m Kgf/Kgmole K
+
+//To Calculate the fugacity of liquid water
+//From equation 13.13(page no 240)
+del_u = (V/(R*T))*(P2-P1);//del_u = ln(f2/f1); Change in chemical potential
+f1 = P2;//in Kgf/sq m
+f2 = f1*(%e^del_u);
+mprintf('The fugacity of the liquid water at 50 atm is %4.2e Kgf/sq m',f2);
+//end \ No newline at end of file