where ΔS is the change in entropy, ΔQ is the heat added to the system, and T is the temperature.
f(E) = 1 / (e^(E-EF)/kT + 1)
f(E) = 1 / (e^(E-μ)/kT - 1)
PV = nRT