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/CH6/EX6.4/example6_4.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/CH6/EX6.4/example6_4.sce')
-rwxr-xr-x | 632/CH6/EX6.4/example6_4.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/632/CH6/EX6.4/example6_4.sce b/632/CH6/EX6.4/example6_4.sce new file mode 100755 index 000000000..3409c63d8 --- /dev/null +++ b/632/CH6/EX6.4/example6_4.sce @@ -0,0 +1,13 @@ +//clc()
+A = 13.8587;
+B = 2911.32;
+C = 56.56;
+T1 = 325;//K
+//Pressure at normal condition = 101.3kPa
+P2 = 101.3;//kPa
+//Antoine equation - lnP = A - B / (T - C)
+lnP = A - (B / (T - C));
+P1 = exp(lnP);
+disp("kPa",P1,"(a)Vapour pressure of n-heptane at 325K = ")
+T2 = B/(A - log(P2)) + C;
+disp("K",T2,"(b)Normal boiling point of n-heptane = ")
\ No newline at end of file |