summaryrefslogtreecommitdiff
path: root/3822/CH5/EX5.3/Ex5_3.sce
blob: e871b82a0fcc8e82a889d408ae6002da89c9cb56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

//OptoElectronics and Fibre Optics Communication, by C.K Sarkar and B.C Sarkar
//Example 5.3
//OS=Windows 10
////Scilab version Scilab 6.0.0-beta-2(64 bit)
clc;
clear;

//given
Br=7.21*10^-10;//injected electron density
Pn=10^18;//majority carrier hole density in/cm^3
Gamar=1/(Br*Pn);//minority carrier life time
mprintf("\n Minority carrier life time is =%.2f ns ",Gamar*1e9);// the answer vary due to roundingoff
//multiplication by 1e9 to convert the unit to nm