Consider a series of 8 flips of a fair coin.

(a) Calculate the probabilities for obtaining 0-8 heads. We will consider each of these nine outcomes to be macrostates of the system.

(b) Calculate the entropy for each of these macrostates.

I was able to figure out part A, but I'm stuck on part B. I believe the entropy equation is S = K*ln(W) where W is multiplicity. I am unsure how to find W for each of the 8 tosses.