summaryrefslogtreecommitdiff
path: root/3440/CH3/EX3.1/Ex3_1.sce
blob: f48fa417afcd4ecf442e0782acb046bd4760989d (plain)
1
2
3
4
5
6
7
8
9
10
clc

T=300 //K
k=8.617*10^-5 //eV/K
q=1.6*10**-19 //C
NA=10^18 //cm^-3
ND=10^15//cm^-3
ni=9.65*10^9
Vbi=(k*T)*log(NA*ND/ni^2)
disp(Vbi,"the built in potential in V=")