summaryrefslogtreecommitdiff
path: root/2288/CH4/EX4.16.2/ex4_16_2.sce
blob: 8ad78a0c7cdd5fa7f6829d3d3da45ae521fcc3e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Exa 4.16.2
clc;
clear;
close;
// Given data
V_T = 26;// in mV
V_T=V_T*10^-3;// in V
n_i = 2.5 * 10^13;
Sigma_p = 1;
Sigma_n = 1;
Mu_n = 3800;
q = 1.6 * 10^-19;// in C
Mu_p = 1800;
N_A = Sigma_p/(2* q * Mu_p);// in /cm^3
N_D = Sigma_n /(q * Mu_n);// in /cm^3
V_J = V_T * log((N_A * N_D)/(n_i)^2);// in V
disp(V_J,"For Ge the height of the energy barrier in V is");
// For Si p-n juction
n_i = 1.5 * 10^10;
Mu_n = 1300;
Mu_p = 500;
N_A = Sigma_p/(2* q * Mu_p);// in /cm^3
N_D = Sigma_n /(q * Mu_n);// in /cm^3
V_J = V_T * log((N_A * N_D)/(n_i)^2);// in V
disp(V_J,"For Si p-n junction  the height of the energy barrier in V is");