summaryrefslogtreecommitdiff
path: root/1787/CH5/EX5.4/Exa5_4.sce
blob: f370b3d61b2b633678d99363c0a4fcd001f85a38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Exa 5.4
clc;
clear;
close;
//given data
ND=8*10^14;//in cm^-3
NA=8*10^14;//in cm^-3
ni=2*10^13;//in cm^-3
T=300;//in Kelvin
k=8.61*10^-5;//in eV/K
e=1.6*10^-19;//coulamb
Vo=k*T*log(ND*NA/ni^2);//in Volts
disp(Vo,"Potential barrier in volts : ");