Energy Spectrum

Compute the energy spectrum of the 1D model.