I'm having trouble with the following problem:
Boltzmann defined entropy as a measure of the number of possible microscopic states of a system, $W$, as:
${S = k_BlnW}$
Here, $k_B$ is the Boltzmann constant. Hereafter, it is assumed that neither energy nor particles are exchanged between the system of interest and the surrounding environment, and that the system is in equilibrium at a constant temperature. In addition, the gas atoms and molecules (henceforth referred to as ‘molecules’) are assumed to behave as an ideal gas.
Figure 1. Example of a microscopic state (4,6) in which ten molecules are distributed in two chambers separated by a wall.
Removing the boundary wall that separates the two chambers in Figure 1 allows the molecules to move throughout the entire container. Assume that it is possible to measure the arrangement of the molecules instantly after the removal of the wall. If this measurement is performed a sufficiently high number of times, the probability that a state with an arrangement (n,m) will be found can be calculated.
1) Calculate the arrangement ($n^*$, $N$ − $n^*$) with the highest probability of occurrence for $N = 10$ and $N = 100$, as well as the corresponding probability of occurrence for each state.
2) Calculate the probability of observing a state in which $n^*$ is in the range $n^* – 0.02 N ≤ n^* ≤ n^* + 0.02 N$ for $N = 10$ and $N = 100$. Here both $N$ and $n^*$ are integers.
I was able to calculate the first part and got the following results using a spreadsheet.
For $N = 10$:
$W(5,5) = 252$ and $P(5,5) = 0.226$
For $N = 100$:
$\ce{W(50,50) = 1.0*10^{29}}$ and $P(50,50) = 0.0788$
On the other hand, I don't understand what the mentioned range in the second part of the problem means and I'm therefore unable to solve it:
$n^*$ is in the range $n^* – 0.02 N ≤ n^* ≤ n^* + 0.02 N$