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 /905/CH1/EX1.15/1_15.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 '905/CH1/EX1.15/1_15.sce')
-rwxr-xr-x | 905/CH1/EX1.15/1_15.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/905/CH1/EX1.15/1_15.sce b/905/CH1/EX1.15/1_15.sce new file mode 100755 index 000000000..bfd41b06e --- /dev/null +++ b/905/CH1/EX1.15/1_15.sce @@ -0,0 +1,22 @@ +clear;
+clc;
+
+// Illustration 1.15
+// Page: 43
+
+printf('Illustration 1.15 - Page:43 \n\n');
+// Solution
+
+//*****Data*****//
+// Diffusion of A through stagnant B
+P_total = 1.0; // [bar]
+P_B1 = 0.8; // [bar]
+P_B2 = 0.3; // [bar]
+//*****//
+
+// Using equation 1.83
+P_BM = (P_B2-P_B1)/(log(P_B2/P_B1)); // [bar]
+// using the result of Example 1.14, we have
+N_A = 0.2; // [mole/square m.s]
+N_A = N_A*P_total/P_BM; // [moloe/square m.s]
+printf("The molar flux of component A is %f mole/square m.s",N_A);
\ No newline at end of file |