## Formula for Energy band diagram

Hi everyone,

Having problems with the calculations for this question, i can't find the formula,can't find any info on this topic.Really hope someone can help out, all help appreciated.

Draw the energy band diagrams,showing $E_C,E_V,E_F and E_i$for the following,assuming all impurities are ionised.

a)Intrinsic Silicon at 300K
b)Silicon doped with $10^{17}$ boron atom $cm^{-3}$at 300K.

Thank you in advance for all help & support.