summaryrefslogtreecommitdiff
path: root/1061/CH8/EX8.2/Ex8_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1061/CH8/EX8.2/Ex8_2.sce')
-rwxr-xr-x1061/CH8/EX8.2/Ex8_2.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1061/CH8/EX8.2/Ex8_2.sce b/1061/CH8/EX8.2/Ex8_2.sce
new file mode 100755
index 000000000..c1c11b226
--- /dev/null
+++ b/1061/CH8/EX8.2/Ex8_2.sce
@@ -0,0 +1,16 @@
+//Ex:8.2
+clc;
+clear;
+close;
+tr=30;// rediative life time in ns
+tnr=50;// nonrediative life time in ns
+i=40*10^-3;// drive current in amp
+pi=28.4*10^-3;// internal power in watt
+h=6.626*10^-34;// plank constant
+c=3*10^8;// the speed of light in m/s
+e=1.602*10^-19;// charge
+t=tr*tnr/(tr+tnr);// total carrier recombination lifetime ns
+ni=t/tr;// internal quantam efficiency
+y=(ni*h*c*i)/(e*pi);// peak emission wavelength in m
+printf("The total carrier recombination lifetime =%f ns", t);
+printf("\n The peak emission wavelength =%f um", y*10^6); \ No newline at end of file