summaryrefslogtreecommitdiff
path: root/2498/CH1/EX1.14/ex1_14.sce
blob: 8469a3bc515c820bee3cbd37e9d1796bf9f79050 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Exa 1.14
clc;
clear;
close;
format('v',6)
// Given data
n_i = 1.5*10^10;// in electrons/cm^3
N_D = 10^17;// in electrons/cm^3
n = N_D;// in electrons/cm^3
// The minority carrier concentration
p = (n_i^2)/n;// in holes/cm^3
disp(p,"The minority carrier concentration in holes/cm^3 is");
kT = 0.026;
// The location of Fermi level 
E_FminusEi = kT*log(N_D/n_i);// in eV
disp(E_FminusEi,"The location of Fermi level in eV is");