summaryrefslogtreecommitdiff
path: root/2258/CH7/EX7.25/7_25.sce
blob: e08c114a77672eb305f6306ffe7278da5988c938 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clc();
clear;
// To calculate the resistivity of doped Ge
ni=2.5*10^19;   //density of charge carriers in m^3
r=1/(10^6);    //ratio
e=1.6*10^-19;
mew_e=0.36;   //mobility of electrons in m^2/Vs
mew_h=0.18;   //mobility of holes in m^2/Vs
N=4.2*10^28;    //number of Si atoms per m^3
Ne=r*N;
printf("number of impurity atoms per m^3 is");
disp(Ne);
Nh=(ni^2)/Ne;
sigma=(Ne*e*mew_e)+(Nh*e*mew_h);
rho=1/sigma;
printf("the resistivity of doped Ge is %f ohm m",rho);