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

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

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

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