summaryrefslogtreecommitdiff
path: root/3740/CH2/EX2.3/Ex2_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3740/CH2/EX2.3/Ex2_3.sce')
-rw-r--r--3740/CH2/EX2.3/Ex2_3.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3740/CH2/EX2.3/Ex2_3.sce b/3740/CH2/EX2.3/Ex2_3.sce
new file mode 100644
index 000000000..e88ea3518
--- /dev/null
+++ b/3740/CH2/EX2.3/Ex2_3.sce
@@ -0,0 +1,16 @@
+//Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
+//Example 2.3
+//OS=Windows XP sp3
+//Scilab version 5.5.2
+clc;
+clear;
+
+//given
+m=9.1e-31;//rest mass of electrons in kg
+me=0.55*m;//effective mass of electrons in kg
+h=6.62e-34;//Planck's constant in SI Units
+k=1.38e-23;//Boltzmann's constant in SI Units
+T=300;//temperature of the source in K
+
+Nc=2*(2*%pi*me*k*T/(h^2))^(3/2);//effective density of states in the conduction band
+mprintf("Nc = %.2e m^(-3)",Nc);//The answers vary due to round off error