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.12 | |
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.12')
-rwxr-xr-x | 905/CH1/EX1.12/1_12.sce | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/905/CH1/EX1.12/1_12.sce b/905/CH1/EX1.12/1_12.sce new file mode 100755 index 000000000..d95f98586 --- /dev/null +++ b/905/CH1/EX1.12/1_12.sce @@ -0,0 +1,28 @@ +clear;
+clc;
+
+// Illustration 1.12
+// Page: 34
+
+printf('Illustration 1.12 - Page:34 \n\n');
+// Solution
+
+//*****Data*****//
+// ammonia-1 nitrogen-2 hydrogen-3
+T = 300; // [K]
+P = 1; // [bar]
+y_1 = .40;
+y_2 = .20;
+y_3 = .40;
+//*****//
+
+// The binary diffusivities are the same as for Example 1.11.
+D_12 = 0.237; // [square cm/s]
+D_13 = 0.728; // [square cm/s]
+
+// mole fractions of nitrogen (2) and hydrogen (3) on an ammonia (1)-free base from equation (1.61)
+y_21 = y_2/(1-y_1);
+y_31 = y_3/(1-y_1);
+// Substituting in equation (1.60) gives us
+D_1eff = 1/((y_21/D_12)+(y_31/D_13));
+printf("The effective diffusivity of ammonia in the gaseous mixture is %e square cm/s",D_1eff);
\ No newline at end of file |