summaryrefslogtreecommitdiff
path: root/2762/CH12/EX12.5.2
diff options
context:
space:
mode:
Diffstat (limited to '2762/CH12/EX12.5.2')
-rwxr-xr-x2762/CH12/EX12.5.2/12_5_2.sce23
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)