summaryrefslogtreecommitdiff
path: root/632/CH7/EX7.5.b
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /632/CH7/EX7.5.b
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 '632/CH7/EX7.5.b')
-rwxr-xr-x632/CH7/EX7.5.b/example7_5_b.pngbin0 -> 14403 bytes
-rwxr-xr-x632/CH7/EX7.5.b/example7_5_b.sce15
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
new file mode 100755
index 000000000..dd30ea8ce
--- /dev/null
+++ b/632/CH7/EX7.5.b/example7_5_b.png
Binary files differ
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