summaryrefslogtreecommitdiff
path: root/3665/CH8/EX8.4/Ex8_4.sce
blob: d4a8dd574d93815896a97761b53c9a347b0304a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clc//
//
//

//Variable declaration
ni=2.4*10^19;     //carrier density(per m^3)
mew_e=0.39;     //electron mobility(m^2/Vs)
mew_h=0.19;     //hole mobility(m^2/Vs)
e=1.6*10^-19;   

//Calculation
sigma_i=ni*e*(mew_e+mew_h);     
rhoi=1/sigma_i;      //resistivity(ohm m)

//Result
printf("\n resistivity is %0.3f ohm m",rhoi)