To evaluate the average, we partition the  energy eigenstates by counting how many of them have a value for  within a range between  and .
To determine the mean, we group the energy eigenstates based on their values falling within a specified interval between  and .