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

//Variable declaration
ni=2.5*10^19;     //concentration(per m^3)
d=4.4*10^28;    //density(per m^3)
n=4*10^8;      //number of Ge atoms

//Calculation
Na=d/n;     //density of acceptor atoms
np=ni^2/Na;     
npbyni=np/ni;     //ratio of density of electrons

//Result
printf("\n ratio of density of electrons is %0.3f ",npbyni)