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.3/example6_3.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.3/example6_3.sce')
-rwxr-xr-x | 632/CH6/EX6.3/example6_3.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/632/CH6/EX6.3/example6_3.sce b/632/CH6/EX6.3/example6_3.sce new file mode 100755 index 000000000..30fd26b18 --- /dev/null +++ b/632/CH6/EX6.3/example6_3.sce @@ -0,0 +1,17 @@ +//clc()
+P1s = 194.9;//kPa
+P2s = 8.52;//kPa
+T1 = 353;//K
+T2 = 273;//K
+T3 = 300;//K
+Pair = 101.3;//kPa
+//log (P2s/P1s) = J * (1/T1 - 1/T2) / R
+//let J / R = L
+L = log (P2s/P1s)/(1/T1 - 1/T2);
+P3s = P1s * exp(L * (1/T1 - 1/T3)) ;
+Ptotal = P3s + Pair;//at saturation vapour pressure = partial pressure
+disp("kPa",Ptotal,"(a)Final pressure of the mixture = ")
+MP = P3s * 100 / Ptotal;
+// mole percent = moles of acetone * 100 / total moles
+//= Partial pressure of acetone * 100 / total Pressure
+disp("%",MP,"(b)Mole percent of acetone in the final mixture = ")
\ No newline at end of file |