summaryrefslogtreecommitdiff
path: root/2102/CH2/EX2.35/exa_2_35.sce
blob: 061c0dab838e0b192c78fce2ffc1be17ee70d50c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Exa 2.35
clc;
clear;
close;
// Given data
N_A= 4.4*10^22/10^8;// in /m^3
N_D= 10^3*N_A;// in /m^3
ni= 2.5*10^13;// /cm^3
Vt= 26;// in mV
Vt= Vt*10^-3;// in V
Vj= Vt*log(N_A*N_D/ni^2);// in V
disp(Vj,"The junction potential in volts is : ")