summaryrefslogtreecommitdiff
path: root/3768/CH9/EX9.5/Ex9_5.sce
blob: ed97e4289398436c2598ea4584aaeec0e8c7dbb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//Example number 9.5, Page number 204

clc;clear;
close;

//Variable declaration
w=72.6;       //atomic weight
e=1.6*10**-19;     //charge(c)
mew_e=0.4;        //electron mobility(m**2/Vs)
mew_h=0.2;       //hole mobility(m**2/Vs)
T=300;         //temperature(K)
x=4.83*10**21;
Eg=0.7;      //band gap(eV)
y=0.052;
//Calculation
ni=x*(T**(3/2))*exp(-Eg/y);     //carrier density(per m**3)
sigma=ni*e*(mew_e+mew_h);         //conductivity(ohm-1 m-1)
//Result
printf("carrier density is %.2e per m^3",ni)
printf("\n conductivity is %.2f (ohm-m)^-1",sigma)
//answer in the book varies due to rounding off errors