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 /599/CH2/EX2.5.a/example2_5_a.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 '599/CH2/EX2.5.a/example2_5_a.sce')
-rwxr-xr-x | 599/CH2/EX2.5.a/example2_5_a.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/599/CH2/EX2.5.a/example2_5_a.sce b/599/CH2/EX2.5.a/example2_5_a.sce new file mode 100755 index 000000000..f9a67c3f4 --- /dev/null +++ b/599/CH2/EX2.5.a/example2_5_a.sce @@ -0,0 +1,23 @@ +
+clear;
+clc;
+printf("\t Example 2.5.a\n");
+//position 1 moles molefraction
+// air 80 0.8
+// water 20 0.2
+
+//position 2 moles molefraction
+// air 10 0.1
+// water 90 0.9
+ya1=0.8;
+ya2=0.1;
+T=(273+35); //temperature in kelvin
+pt=1*1.013*10^5; //total pressure in pascal
+z=0.3*10^-3; //gas film thickness in m
+Dab=.18*10^-4; //diffusion coefficient in m^2/s
+R=8314; //universal gas constant
+Na=Dab*pt*(ya1-ya2)/(z*R*T) //diffusion flux in kmol/m^2*s
+rate=Na*100*10^-4*3600*46; //since molecular weight of mixture is 46
+printf("\n rate of diffusion of alcohol-water vapour :%f kg/hr ",rate);
+
+//end
\ No newline at end of file |