summaryrefslogtreecommitdiff
path: root/3740/CH4/EX4.1/Ex4_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3740/CH4/EX4.1/Ex4_1.sce')
-rw-r--r--3740/CH4/EX4.1/Ex4_1.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/3740/CH4/EX4.1/Ex4_1.sce b/3740/CH4/EX4.1/Ex4_1.sce
new file mode 100644
index 000000000..c929538e8
--- /dev/null
+++ b/3740/CH4/EX4.1/Ex4_1.sce
@@ -0,0 +1,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);
+