Semiconductor equation: 2 expressions for ni. Set them equal and obtain expression for the parameter mu, temperature dependent Fermi level.

Click on picture for original, larger version.