blob: afa76c6c295e2e94faf4fe55348d68413e7f1fad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//Variable declaration
ni=2.5*10**19; //intrinsic concentration(per m**3)
mewn=0.4; //mobility of electrons(m**2/Vs)
mewp=0.2; //mobility of holes(m**2/Vs)
e=1.6*10**-19;
//Calculation
sigma_i=ni*e*(mewn+mewp);
rhoi=1/sigma_i; //resistivity(ohm m)
//Result
printf('resistivity is %0.3f ohm m \n',(rhoi))
|