summaryrefslogtreecommitdiff
path: root/3020/CH17/EX17.1/ex17_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3020/CH17/EX17.1/ex17_1.sce')
-rwxr-xr-x3020/CH17/EX17.1/ex17_1.sce32
1 files changed, 32 insertions, 0 deletions
diff --git a/3020/CH17/EX17.1/ex17_1.sce b/3020/CH17/EX17.1/ex17_1.sce
new file mode 100755
index 000000000..93b4b4868
--- /dev/null
+++ b/3020/CH17/EX17.1/ex17_1.sce
@@ -0,0 +1,32 @@
+clc;
+clear all;
+pCu=8.96e3;//density of copper in kg*m^-3
+pZn=7.14e3;//density of Zn in kg*m^-3
+pAl=2.70e3;//density of Al in kg*m^-3
+MCu=63.55;//atomic weight of Cu
+MZn=65.38;//atomic weight of Zn
+MAl=27.0;//atomic weight of Al
+N=6.022*1e26;//avogadro's constant
+x=1;//no of free electrons per atom
+h=6.626e-34;
+me=9.1e-31;
+
+//for Cu
+n=pCu*N*x/MCu;//concentration of electron in Cu
+Efo=(h*h/(8*me))*((3*n/%pi)^(2/3));//fermi energy at 0K
+Efo1=Efo/(1.6e-19);//convertion into eV from J
+disp('eV',Efo1,'fermi energy at 0 K');
+
+//for Zn
+x=2;
+n=pZn*N*x/MZn;//concentration of electron in Zn
+Efo=(h*h/(8*me))*((3*n/%pi)^(2/3));//fermi energy at 0K
+Efo1=Efo/(1.6e-19);//convertion into eV from J
+disp('eV',Efo1,'fermi energy at 0 K');
+
+//for Al
+x=3;
+n=pAl*N*x/MAl;//concentration of electron in Al
+Efo=(h*h/(8*me))*((3*n/%pi)^(2/3));//fermi energy at 0K
+Efo1=Efo/(1.6e-19);//convertion into eV from J
+disp('eV',Efo1,'fermi energy at 0 K');