summaryrefslogtreecommitdiff
path: root/3669/CH5/EX5.7/7.sce
blob: 3dc599558e702c6b5d787830045e12c23632910a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

//Variable declaration
ne=1;    //number of electrons
rho=1.721*10**-8;   //resistivity(ohm m)
w=63.54;   //atomic weight
e=1.6*10**-19;     //charge(c)
D=8.95*10**3;   //density(kg/m**3)
Na=6.025*10**26;   //avagadro number(per k mol)

//Calculation
n=ne*Na*D/w;
mew=1/(n*e*rho);     //mobility of electrons(m**2/Vs)

//Result
printf('mobility of electrons is %0.3f   m**2/Vs  \n',(mew))
printf('answer in the book is wrong\n')