blob: 9a2fdd5088e3487a748b8642c3c5c6aca90d34d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
clear
//
//
//
//Variable declaration
e=1.6*10**-19 //charge(c)
ni=1.5*10**16 //particle density(per m**3)
mew_e=0.14 //electron mobility(m**2/Vs)
mew_h=0.05 //hole mobility(m**2/Vs)
D=2.33*10**3 //density(kg/m**3)
A=28.09 //atomic weight(kg)
NA=6.025*10**26 //avagadro number
//Calculation
N=NA*D/A //number of atoms
n=N/10**8 //electron concentration(per m**3)
p=ni**2/n //hole concentration(per m**3)
sigma=e*((n*mew_e)+(p*mew_h)) //conductivity(per ohm m)
//Result
printf("\n conductivity is %0.1f per ohm m",sigma)
|