summaryrefslogtreecommitdiff
path: root/3710/CH2/EX2.8/Ex2_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3710/CH2/EX2.8/Ex2_8.sce')
-rw-r--r--3710/CH2/EX2.8/Ex2_8.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3710/CH2/EX2.8/Ex2_8.sce b/3710/CH2/EX2.8/Ex2_8.sce
new file mode 100644
index 000000000..e819da115
--- /dev/null
+++ b/3710/CH2/EX2.8/Ex2_8.sce
@@ -0,0 +1,14 @@
+//Example 2.8, Page Number 84
+//Effective Increase in the width of the Energy Gap Calculation
+clc;
+Lz=10*(10**-9) //Thickness in meter
+m=9.1*(10**-31) //Mass of Electron in kilogram
+me=0.068*m //Effective mass of electron
+mh=0.56*m //Effective mass of holes
+h=6.6*(10**-34) //Plancks Constant in meter square kilogram per second
+e=1.6*(10**-19) //Charge of an electron in Coulombs
+
+Eg=((h*h)/(8*(Lz*Lz)))*((1/me)+(1/mh)) //Eg is the effective increase in the width of the energy gap
+Egn=Eg/e //Converting to eV
+Egn=fpround(Egn,3)
+mprintf("The Effective Increase in the width of the Energy Gap is %.3f eV",Egn)