summaryrefslogtreecommitdiff
path: root/3740/CH2/EX2.8/Ex2_8.sce
blob: 283dc9cb9a66e2fd5a2e851bd0a8f555e9734c82 (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.8
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;

//given
Lz=10e-9;//Thickness of a GaAs quantum well in m
m=9.1e-31;//Rest mass of an electron in kg
me=0.068*m;//Mass of electrons in conduction band
mh=0.56*m;//Mass of electrons in valence band
h=6.62e-34;//Planck's constant in SI Units

DeltaEg=(h^2)/(8*(Lz)^2)*(1/me+1/mh);//Energy gap in the GaAs quantum well
mprintf("DeltaEg = %.2e J",DeltaEg);