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/CH7/EX7.5.b | |
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/CH7/EX7.5.b')
-rwxr-xr-x | 632/CH7/EX7.5.b/example7_5_b.png | bin | 0 -> 14403 bytes | |||
-rwxr-xr-x | 632/CH7/EX7.5.b/example7_5_b.sce | 15 |
2 files changed, 15 insertions, 0 deletions
diff --git a/632/CH7/EX7.5.b/example7_5_b.png b/632/CH7/EX7.5.b/example7_5_b.png Binary files differnew file mode 100755 index 000000000..dd30ea8ce --- /dev/null +++ b/632/CH7/EX7.5.b/example7_5_b.png diff --git a/632/CH7/EX7.5.b/example7_5_b.sce b/632/CH7/EX7.5.b/example7_5_b.sce new file mode 100755 index 000000000..478edc6ef --- /dev/null +++ b/632/CH7/EX7.5.b/example7_5_b.sce @@ -0,0 +1,15 @@ +//clc()
+T = [371.4 378 383 388 393 398.6]
+Pas = [101.3 125.3 140 160 179.9 205.3]
+Pbs = [44.4 55.6 64.5 74.8 86.6 101.3]
+Ptotal = 101.3;//kPa
+for i = 1:6
+ x(i) = (Ptotal - Pbs(i))/(Pas(i) - Pbs(i));
+end
+for i = 1:6
+ y(i) = x(i) * Pas(i) / Ptotal;
+end
+w = x;
+plot(x,w);
+plot(x,y,'-o');
+xtitle('Equilibrium curve','x, mole fraction in liquid','y, mole fraction in vapour');
\ No newline at end of file |