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 /3020/CH18/EX18.18/ex18_18.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 '3020/CH18/EX18.18/ex18_18.sce')
-rwxr-xr-x | 3020/CH18/EX18.18/ex18_18.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3020/CH18/EX18.18/ex18_18.sce b/3020/CH18/EX18.18/ex18_18.sce new file mode 100755 index 000000000..5dfadda40 --- /dev/null +++ b/3020/CH18/EX18.18/ex18_18.sce @@ -0,0 +1,15 @@ +clc;
+clear all;
+e=1.6e-19;//charge of electron
+u=3.2e-3;//
+sigma=5.9e7;//conductivity
+ni=sigma/(u*e);//concentration of conduction electron in Cu
+disp('m^-3',ni,'concentration of conduction electron in Cu is:');
+N=6.022e23;//Avogadro's constant
+de=8900;//density
+m=63.5;//atomic mass of Cu
+ne=1e3;//no of free electrons per atom
+n=N*de*ne/m;//concentration of free electrons per Cu atom
+disp('electrons per m^3',n,'concentration of free electrons per Cu atom is:')
+avg=ni/n;//average no of electrons contributed per Cu atom
+disp('',avg,'average no of electrons contributed per Cu atom');
|