blob: 932e193b0185070974dbace0598b5f7e759d81be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Exa 1.2
clc;
clear;
close;
format('v',7)
// Given data
n_i = 1.4*10^18;// in /m^3
N_D = 1.4*10^24;// in /m^3
n = N_D;// in /m^3
p = (n_i^2)/n;// in /m^3
// Ratio of electron to hole concentation,
ratio = n/p;
disp(ratio,"Ratio of electron to hole concentration is");
|