summaryrefslogtreecommitdiff
path: root/3669/CH8/EX8.13/13.sce
blob: 4ed2f053675332ba96d56c38162c3fd0fe6c06c3 (plain)
1
2
3
4
5
6
7
8
9
10
11

//Variable declaration
mewn=0.35;     //mobility of electrons(m**2/Vs)
e=1.602*10**-19;
rho=0.2;    //resistivity(ohm m)

//Calculation
n=1/(rho*e*mewn);      //density of donor atoms

//Result
printf('density of donor atoms is %0.3f  *10**19 electrons/m**3   \n',(n/10**19))