summaryrefslogtreecommitdiff
path: root/3669/CH5/EX5.11/11.sce
diff options
context:
space:
mode:
Diffstat (limited to '3669/CH5/EX5.11/11.sce')
-rw-r--r--3669/CH5/EX5.11/11.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3669/CH5/EX5.11/11.sce b/3669/CH5/EX5.11/11.sce
new file mode 100644
index 000000000..809b98a83
--- /dev/null
+++ b/3669/CH5/EX5.11/11.sce
@@ -0,0 +1,17 @@
+
+//Variable declaration
+ne=1; //number of electrons
+M=107.9; //atomic weight
+D=10500; //density(kg/m**3)
+Na=6.025*10**26; //avagadro number(per k mol)
+m=9.11*10**-31; //mass(kg)
+h=6.63*10**-34; //planck's constant
+
+//Calculation
+n=ne*Na*D/M;
+x=h**2/(8*m);
+y=(3/%pi)**(2/3);
+Ef=x*y*n**(2/3); //fermi energy(eV)
+
+//Result
+printf('fermi energy is %0.3f *10**-19 J \n',(Ef*10**19)) \ No newline at end of file