diff options
Diffstat (limited to '3710/CH4/EX4.1/Ex4_1.sce')
-rw-r--r-- | 3710/CH4/EX4.1/Ex4_1.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3710/CH4/EX4.1/Ex4_1.sce b/3710/CH4/EX4.1/Ex4_1.sce new file mode 100644 index 000000000..02a783494 --- /dev/null +++ b/3710/CH4/EX4.1/Ex4_1.sce @@ -0,0 +1,15 @@ +//Example 4.1, Page Number 131
+//The Function fpround(dependency) is used to round a floating point number x to n decimal places
+clc;
+
+kt=0.025
+E=0.4 //(The difference between Ec & Ed)
+Q=(10**8)
+
+j=E/kt
+p=Q*exp(-j) //p is the required probability
+p=fpround(p,2)
+Q1=1/p
+Q1=fpround(Q1,2)
+mprintf("The Probability of Escape per second of the trapped electron:%.2f/s\n",p)
+mprintf(" The Luminescence Lifetime is:%.2fs",Q1)
|