For the calculation of the Fermi level, the charge neutrality equation is solved numerically assuming ...
www.mathworks.com