summaryrefslogtreecommitdiff
path: root/3840/CH5/EX5.1/Ex5_1.sce
blob: 70cd88d408f4dcec2b679e52b961b11b2107e86a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
clear
//
//
//

//Variable declaration
E_EF=0.5     //fermi energy(eV)
FE=1/100     //probability
Kb=1.381*10**-23     //boltzmann constant(J/k)
x=6.24*10**18    

//Calculation
KB=Kb*x
y=E_EF/KB
T=y/log(1/FE)      //temperature(K)

//Result