結果 : calculate the energy difference between two energy levels