summaryrefslogtreecommitdiff
path: root/3840/CH8/EX8.2/Ex8_2.sce
blob: f6558111f595a8c75d00ee080468e36a45993f11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clear
//
//
//

//Variable declaration
e=1.6*10**-19    //charge(c)
mew_n=0.3        //electron mobility(m**2/Vs)
rho=0.25         //resistivity(ohm m)

//Calculation
n=1/(rho*e*mew_n)    //number of donor atoms per m**3

//Result
printf("\n number of donor atoms is %0.3f  *10**19 per m**3",n/10**19)