blob: ca38df2e42fb1d99f3d4597e2b257ad62a999fc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//Exa3.5
clc;
clear;
close;
// given data
n_i=1.4*10^18;// in m^3
N_D=1.4*10^24;// in m^3
n=N_D;// (approx)
p=n_i^2/n;
// let Ratio of electron to hole concentration = r
r=n/p;
disp("Ratio of electron to hole concentration is : "+string(r));
|