blob: b38382745070ce1a211b3fc95f58799b1912d56e (
plain)
1
2
3
4
5
6
7
8
|
disp("(E-Ef)=3*K*T");
T=300;
K=1.38*(10^-23);
a=3*K*T;
b=K*T;
c=1/(1+exp(a/b)); //say probability,f(E)=c
d=c*100;
printf('the probablity that an energy level 3*K*T above the fermi level Ef is occupied by an electron at T=300k is %f percent',d);
|