summaryrefslogtreecommitdiff
path: root/3665/CH8/EX8.2/Ex8_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3665/CH8/EX8.2/Ex8_2.sce')
-rw-r--r--3665/CH8/EX8.2/Ex8_2.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3665/CH8/EX8.2/Ex8_2.sce b/3665/CH8/EX8.2/Ex8_2.sce
new file mode 100644
index 000000000..0224a3aed
--- /dev/null
+++ b/3665/CH8/EX8.2/Ex8_2.sce
@@ -0,0 +1,18 @@
+clc//
+//
+//
+
+//Variable declaration
+Eg=1.12; //band gap(eV)
+T=300; //temperature(K)
+m0=1; //assume
+me=0.12*m0;
+mh=0.28*m0;
+k=1.38*10^-23; //boltzmann constant
+e=1.6*10^-19;
+
+//Calculation
+EF=(Eg/2)+(3*k*T*log(mh/me)/(4*e)); //position of fermi level(eV)
+
+//Result
+printf("\n position of fermi level is %0.3f eV",EF)