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 /2762/CH12/EX12.5.2 | |
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 '2762/CH12/EX12.5.2')
-rwxr-xr-x | 2762/CH12/EX12.5.2/12_5_2.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/2762/CH12/EX12.5.2/12_5_2.sce b/2762/CH12/EX12.5.2/12_5_2.sce new file mode 100755 index 000000000..09f4d0881 --- /dev/null +++ b/2762/CH12/EX12.5.2/12_5_2.sce @@ -0,0 +1,23 @@ +//Transport Processes and Seperation Process Principles
+//Chapter 12
+//Example 12.5-2
+//Liquid Liquid and Fluid Solid Seperation Process
+//given data
+ya=0.04;//concn of A in upper layer
+yb=0.02;//concn of B in upper layer
+yc=0.94;//concn of C in upper layer
+xa=0.12;//concn of A in lower layer
+xb=0.86;//concn of B in lower layer
+xc=0.02;//concn of C in lower layer
+M=100;//mass of mixture in kg
+xam=0.1;
+//Material Balance Equations
+//eq 1: V+L=M
+//eq 2:ya*V+xa*L=xam*M
+A=[1 1;ya xa];
+B=[M; M*xam];
+X=inv(A)*B
+V=X(1,1);
+L=X(2,1);
+mprintf("amt of vapour phase=%f kg ",V)
+mprintf("amt of liquid phase=%f kg ",L)
|