summaryrefslogtreecommitdiff
path: root/647/CH9/EX9.15/Example9_15.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /647/CH9/EX9.15/Example9_15.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 '647/CH9/EX9.15/Example9_15.sce')
-rwxr-xr-x647/CH9/EX9.15/Example9_15.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/647/CH9/EX9.15/Example9_15.sce b/647/CH9/EX9.15/Example9_15.sce
new file mode 100755
index 000000000..86a578d0d
--- /dev/null
+++ b/647/CH9/EX9.15/Example9_15.sce
@@ -0,0 +1,23 @@
+clear;
+clc;
+
+// Example: 9.15
+// Page: 359
+
+printf("Example: 9.15 - Page: 359\n\n");
+
+// Solution
+
+//*****Data******//
+Vl = 73*10^(-6);// [cubic m/mol]
+P = 275;// [bar]
+Psat = 4.360;// [bar]
+T = 110 + 273;// [K]
+R = 8.314;// [J/mol K]
+//**************//
+
+// Acetone vapour is assumed to behave like ideal gas.
+phi = 1;
+fsat = Psat;// [bar]
+fl = fsat*exp(Vl*(P - Psat)*10^5/(R*T));// [bar]
+printf("Fugacity of liquid butadiene at 313 K & 10 bar is %.3f bar",fl); \ No newline at end of file