where k > 0 is the electron wave vector, and L is the length of the one-dimensional box (we use the 'box" normalization here). We consider degenerate electron gas, so that the electrons fill states with energies less than the Fermi energy E F . Then, the electron density n ( x ) is calculated as