summaryrefslogtreecommitdiff
path: root/3740/CH4/EX4.1/Ex4_1.sce
blob: c929538e8b44c3d7dad4f4eec5b7b4462d75f737 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
//Example 4.1
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;

//given
//Let DeltaE = Ec - Ed
DeltaE=0.4;//Depth of the conduction band below the conduction band in eV
kT=0.025;//Value of k*T for room temperature in eV
Q=1e8;//Constant value in s^(-1)

//Let the probability of escape of a trapped electron per second be p
p=Q*exp(-DeltaE/kT);
mprintf("\n Probability of escape of a trapped electron = %.1f s^(-1)",p);//The answers vary due to round off error

//Let the corresponding luminescence lifetime in sec be t
t=1/p; 
mprintf("\n t = %.1f s",t);