where N ¯ ¯ ( E n ) is the number of phonons in the box with energy E n ; the total energy is equal to the sum of energies over all energy level, and the energy at a given level is found by multiplying by the energy level by the number of phonons with that energy. In three dimensions, each combination of modes in each of the three axes corresponds to an energy level, giving the total energy as: