summaryrefslogtreecommitdiff
path: root/1787/CH5/EX5.3/Exa5_3.sce
blob: 507ff511c0f977ce8f8a59bdf957e8e21841127c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Exa 5.3
clc;
clear;
close;
//given data
Ecf=0.3;//in Volts
T=27+273;//in Kelvin
delT=55;//in degree centigrade
//formula : Ecf=Ec-Ef=K*T*log(nc/ND)
//let K*log(nc/ND)=y
//Ecf=Ec-Ef=T*y
y=Ecf/T;//assumed
Tnew=273+55;//in Kelvin
EcfNEW=y*Tnew;//in Volts
disp(EcfNEW,"New position of fermi level is(eV) : ");