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 /632/CH5/EX5.7/example5_7.sce | |
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 '632/CH5/EX5.7/example5_7.sce')
-rwxr-xr-x | 632/CH5/EX5.7/example5_7.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/632/CH5/EX5.7/example5_7.sce b/632/CH5/EX5.7/example5_7.sce new file mode 100755 index 000000000..72937ea2b --- /dev/null +++ b/632/CH5/EX5.7/example5_7.sce @@ -0,0 +1,18 @@ +//clc()
+T = 510;//K
+P = 26.6;//bar
+Tc = 425.2;//K
+Pc = 38;//bar
+w = 0.193;
+R = 8.314;
+Pr = P / Pc;
+Tr = T / Tc;
+disp(Pr,"Pr = ")
+disp(Tr,"Tr = ")
+//From fig. 5.6 and 5.7 from the text book
+Z0 = 0.855;
+Z1 = 0.042;
+Z = Z0 + w*Z1;
+disp(Z,"Z = ")
+V = R * T * Z / (P * 10^5);
+disp("m^3/mol",V,"Molar volume of n-butane = ")
\ No newline at end of file |