Entropy of rolling a 20 sided dice.
In this case, each face of the die has an equal probability of landing face up, which is P(face) = 1/20
The entropy of rolling the die can be calculated as follows:
H=−∑ faces * P(face)log 2 * (P(face))
H=−20( 20/1 * log 2 * ( 20/1 * ))
H=−log 2 * ( 20/1)
H=log 2 * (20)
The entropy of rolling a fair twenty-sided die is log 2 * (20).