summaryrefslogtreecommitdiff
path: root/1367/CH21
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1367/CH21
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1367/CH21')
-rwxr-xr-x1367/CH21/EX21.1/21_1.sce13
-rwxr-xr-x1367/CH21/EX21.1/21_1r.txt7
-rwxr-xr-x1367/CH21/EX21.2/21_2.sce17
-rwxr-xr-x1367/CH21/EX21.2/21_2r.txt11
-rwxr-xr-x1367/CH21/EX21.4/21_4.sce10
-rwxr-xr-x1367/CH21/EX21.4/21_4r.txt4
6 files changed, 62 insertions, 0 deletions
diff --git a/1367/CH21/EX21.1/21_1.sce b/1367/CH21/EX21.1/21_1.sce
new file mode 100755
index 000000000..1959a6d14
--- /dev/null
+++ b/1367/CH21/EX21.1/21_1.sce
@@ -0,0 +1,13 @@
+//Find Concentration Gradient and diffusivity
+//Ex:21.1
+clc;
+clear;
+close;
+c_cu=2*10^13;//concentration of copper in /m^3
+c_al=4*10^6;//concn of copper on other side of Al in /m^3
+t=3*10^-3;//thickness in m
+z=(c_cu-c_al)/t;//z=dm/dx,concentration graient
+disp(z,"Concentration Gradient (in /m^4) = ");
+jx=10^21;//outward flux of copperv atoms in /sq m/sec
+d=-jx/z;//diffusivity in sq m/sec
+disp(d,"Diffusivity (in sq m/sec) = "); \ No newline at end of file
diff --git a/1367/CH21/EX21.1/21_1r.txt b/1367/CH21/EX21.1/21_1r.txt
new file mode 100755
index 000000000..3f0e2854c
--- /dev/null
+++ b/1367/CH21/EX21.1/21_1r.txt
@@ -0,0 +1,7 @@
+Concentration Gradient (in /m^4) =
+
+ 6.667D+15
+
+ Diffusivity (in sq m/sec) =
+
+ - 150000.03 \ No newline at end of file
diff --git a/1367/CH21/EX21.2/21_2.sce b/1367/CH21/EX21.2/21_2.sce
new file mode 100755
index 000000000..cbc10147a
--- /dev/null
+++ b/1367/CH21/EX21.2/21_2.sce
@@ -0,0 +1,17 @@
+//Find Concentration Gradient and diffusivity and rate
+//Ex:21.2
+clc;
+clear;
+close;
+c_n=12;//nitrogen concentration in kg/m^3
+t=6*10^-3;//thickness in m
+z=(c_n-0)/t;//concentration gradient in kg/m^4
+disp(z,"concentration gradient (in kg/m4) = ");
+d0=5*10^-7;//in sqm/sec
+q=75*10^3;//in j/mol
+r=8.314;//in J/mol/K
+t=400;//in K
+dx=d0*exp(-q/(r*t));//diffusivity in sqm/sec
+disp(dx,"Diffusivity (in sqm/sec) = ");
+jx=-z*dx;//rate of flow of nitrogen in kg/sqm/sec
+disp(jx,"Rate at which nitrogen escapes (in kg/sqm/sec) = "); \ No newline at end of file
diff --git a/1367/CH21/EX21.2/21_2r.txt b/1367/CH21/EX21.2/21_2r.txt
new file mode 100755
index 000000000..565e2a7c0
--- /dev/null
+++ b/1367/CH21/EX21.2/21_2r.txt
@@ -0,0 +1,11 @@
+ concentration gradient (in kg/m4) =
+
+ 2000.
+
+ Diffusivity (in sqm/sec) =
+
+ 8.028D-17
+
+ Rate at which nitrogen escapes (in kg/sqm/sec) =
+
+ - 1.606D-13 \ No newline at end of file
diff --git a/1367/CH21/EX21.4/21_4.sce b/1367/CH21/EX21.4/21_4.sce
new file mode 100755
index 000000000..242cd9d10
--- /dev/null
+++ b/1367/CH21/EX21.4/21_4.sce
@@ -0,0 +1,10 @@
+//Calculate Activation Energy in Silver diffusion
+//Ex:21.4
+clc;
+clear;
+close;
+z=8;//ratio of diffusion in silicon at 1350 C and 1100 C
+x=log(z);
+q=x/(1.35*10^-5);//activation energy for silver diffusion in J/mol
+q1=q/1000;//in kJ/mol
+disp(q1,"Activation Energy in Silver diffusion (in kJ/mol) = "); \ No newline at end of file
diff --git a/1367/CH21/EX21.4/21_4r.txt b/1367/CH21/EX21.4/21_4r.txt
new file mode 100755
index 000000000..36cd2af2d
--- /dev/null
+++ b/1367/CH21/EX21.4/21_4r.txt
@@ -0,0 +1,4 @@
+
+ Activation Energy in Silver diffusion (in kJ/mol) =
+
+ 154.03271 \ No newline at end of file