summaryrefslogtreecommitdiff
path: root/3763/CH9/EX9.5/Ex9_5.sce
blob: 105d2b746baaf576d6f6fd07648047b051b25cb8 (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
clear
//
//
//

//Variable declaration
e=1.6*10**-19
Eg=0.72    //band gap(eV)
k=1.38*10**-23    //boltzmann constant
T1=293     //temperature(K)
T2=313     //temperature(K)
sigma1=2    //conductivity(mho m-1)

//Calculation
x=(Eg*e/(2*k))*((1/T1)-(1/T2))
y=(x/2.303)

z=(log10(sigma1))

log_sigma2=y+z
sigma2=10**log_sigma2     //conductivity(mho m-1)

//Result
printf("\n conductivity is %0.2f  mho m-1",sigma2)