blob: ed17adb6e5f14a7386206bd191aef430bde98959 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
//Example 10.1.2
//windows 7
//Scilab version-6.0.0
clc;
clear ;
//given
T=300;//temperature in K
kB=1.38E-23;//Boltzman constant in J/K
E=kB*T;
e=1.6E-19;//Electrons value in Coulomb
Vd=0.7;;//depletion voltage in V
Y=e*Vd/E;
nnbynp=exp(Y);//Ratio of majority to minority charge carriers in an n type and a p type of silicon semiconductor
mprintf("Ratio of majority to minority charge carriers in an n type and a p type of silicon semiconductor = %.2f x10^11",nnbynp/1e11);//the answer vary due to rounding
|