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 /858/CH6/EX6.3 | |
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 '858/CH6/EX6.3')
-rwxr-xr-x | 858/CH6/EX6.3/example_3.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/858/CH6/EX6.3/example_3.sce b/858/CH6/EX6.3/example_3.sce new file mode 100755 index 000000000..9619ba897 --- /dev/null +++ b/858/CH6/EX6.3/example_3.sce @@ -0,0 +1,20 @@ +clc
+clear
+printf("example 6.3 page number 215\n\n")
+
+//to find the flux and pressure difference
+
+D_AB=6.75*10^-5 //in m2/s
+Z=0.03 //in m
+R=8314
+p_A1=5.5*10^4 //in Pa
+p_A2=1.5*10^4 //in Pa
+T=298 //in K
+
+N_A=D_AB*(p_A1-p_A2)/(R*T*Z);
+printf("flux = %f kmol/sq m s",N_A)
+
+//for partial pressure
+Z=0.02; //in m
+p_A2=p_A1-((N_A*R*T*Z)/D_AB);
+printf("\n\npressure = %f Pa",p_A2)
|