summaryrefslogtreecommitdiff
path: root/3740/CH2/EX2.3/Ex2_3.sce
blob: e88ea351826eca7236f6b19c83120e17b49f94af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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