summaryrefslogtreecommitdiff
path: root/1367/CH21/EX21.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1367/CH21/EX21.1
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/EX21.1')
-rwxr-xr-x1367/CH21/EX21.1/21_1.sce13
-rwxr-xr-x1367/CH21/EX21.1/21_1r.txt7
2 files changed, 20 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