summaryrefslogtreecommitdiff
path: root/3755/CH8/EX8.4/Ex8_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3755/CH8/EX8.4/Ex8_4.sce')
-rw-r--r--3755/CH8/EX8.4/Ex8_4.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3755/CH8/EX8.4/Ex8_4.sce b/3755/CH8/EX8.4/Ex8_4.sce
new file mode 100644
index 000000000..71caa7329
--- /dev/null
+++ b/3755/CH8/EX8.4/Ex8_4.sce
@@ -0,0 +1,18 @@
+clear
+//
+//
+//
+
+//Variable declaration
+kb=1.38*10^-23; //boltzmann constant
+T=300; //temperature(K)
+m=6;
+Eg=0.7; //band gap(eV)
+
+//Calculation
+x=3*kb*T*log(m)/4;
+EF=(Eg/2)+x; //position of Fermi level(eV)
+
+//Result
+printf("\n position of Fermi level is %0.3f eV",EF)
+printf("\n answer in the book is wrong")