blob: 04ec651956a79d2b2fd322bad3be633373095cf3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clc;clear;
//Example 18.2
//calculation of probability
//given values
T=300;//temp in K
kT=.026;//temperture equivalent at room temp in eV
Eg=5.6;//forbidden gap in eV
//calculation
f=1/(1+%e^(Eg/(2*kT)));
disp(f,'probability of an e being thermally promoted to conduction band is');
|