summaryrefslogtreecommitdiff
path: root/1026/CH6/EX6.12/Example6_12.sce
blob: 361911fae527f915b33d29444b2ce6d2d1fbba76 (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
25
26
27
28
29
//chapter6,Example6_12,pg 124

//permeability of electron to be in C.B=F(Ec)

e=1.6*10^-19

Eg=5.6

Ef=Eg/2

Ec=Eg

K=1.38*10^-23

T=27+273//converting in Kelvin

KT=K*T

KT=KT/e

//e^(Ec-Ef/KT)>>1

Fermi_F=e^((Ef-Ec)/KT)//fermi factor

printf("probability of electron on CB\n")

disp(Fermi_F)

printf("\nit is infinite in negative direction for an insulator like diamond, so diamond cannot take part in conduction")