summaryrefslogtreecommitdiff
path: root/1655/CH6/EX6.21.3/Example_6_21_3.sce
blob: a9d19a02ac314aac981c0a5f6b34b6d5d7d15335 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Example 6.21.3  page 6.60

clc;
clear;

tr=50;      //radiative recombination lifetime
tnr=110;     //non-radiative recombination lifetime
h=6.624d-34;  //plank's constant
c=3d8;      //speed of light
q=1.6d-19;  //charge of electron
i=40d-3;    //current
lamda=0.87d-6;      //wavelength

t=tr*tnr/(tr+tnr);          //computing total recombination time
eta=t/tr;                   //computing internal quantum efficiency
Pint=eta*h*c*i/(q*lamda);   //computing internally generated power
Pint=Pint*10^3

printf("\nTotal recombinaiton time is %.2f ns.\nInternal quantum efficiency is %.4f.\nInternally generated power is %.2f mW.",t,eta,Pint);

//answers in the book with slight deviaitons
//Total recombinaiton time is 34.37 ns, deviation of 0.01ns.
//Internal quantum efficiency is 0.6874, deviaiton of 0.0001.
//Internally generated power is 39.24 mW, deviation of 0.02mW.