Hi,
This is a usual equation in Physics. And I recommend the Newton-Rapson method as below.
My equation have the form of f(Ef)=0. To find a root of this equation we gave one initial approximation Po and using the iteration
∑ { 1 + ln [ ( Ef - Ek ) / ( kBT ) ] } = C
k + ∑ ln ( Ef - Ek ) - ∑ ln ( kBT ) = C
ln [ Π ( Ef - Ek ) ] = C - k + ∑ ln ( kBT )
Π ( Ef - Ek ) = exp [ C - k + ∑ ln ( kBT ) ]
The last equation is a polynomial equation of degree k. Not all of its roots are acceptable solution (eg. Ef <= Ek ).
Thanks man !
I think that approach is difficult to implement numerically. Since there are a large possible roots from your last equation. In my above equation has only one possible root.