In the free electron model in one dimension, the density of states is,
and the Fermi energy is,
Here n is the one dimensional electron density.
Energy [eV]
n = m-1