summaryrefslogtreecommitdiff
path: root/3755/CH8/EX8.10/Ex8_10.sce
blob: 324a72a12f6164fa741d07b54f169a6dbdcb2834 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
clear
//
//
//

//Variable declaration
rho=9*10^-3;       //resistivity(ohm m)
RH=3.6*10^-4;      //hall coefficient(m^3/C)
e=1.6*10^-19;         //charge of electron

//Calculation
sigma=1/rho;
rho=1/RH;   
n=rho/e;        //density of charge carrier(per m^3)
mew=sigma*RH;      //mobility(m^2/Vs)

//Result
printf("\n density of charge carrier is %0.5f *10^22 per m^3",n/10^22)
printf("\n mobility is %0.3f m^2/Vs",mew)