Entropy is the spread of matter and of energy. Move the particles, hand out the energy, and watch the number of microstates climb. The formula S = k ln W turns that count into joules per kelvin.
Each dot is one particle. Each small bar above a dot is one quantum of energy. The whole picture is a single microstate, which means one exact way the sample can be.
| ways to place the particles | |
| ways to share the energy | |
| total W | |
| ln W |
Position count is 2N. Energy count is the number of ways q matching quanta land on N particles. Here the two are independent, so they multiply.