Question: How to plot the fermi dirac distribution function?

 

 

 

E     Average
number
Fermi-
Dirac
 0      1.8
 1      1.6
 2      1.2
 3      0.8
 4      0.4
 5      0.2
 6      0
 7      0
 8      0
 9      0

 

E=0   f(E)=1.8  = 1/A+1    A=-0.444    kt is unknown. Hence I try many numbers.

This is my code

plot(1/(-0.444*exp(x/3)+1),x=0..9);

 

I have a problem.  A is negative. The denominator would be zero.

This is the theory.

http://hyperphysics.phy-astr.gsu.edu/hbase/quantum/disfdx.html#c2

Please Wait...