Math, asked by Amishag4959, 1 year ago

If we have a bucket with eight red balls, three blue balls, and two yellow balls, what is the entropy of the set of balls? Input your answer to at least three decimal places.

Answers

Answered by acesolution2017
3

Answer:


Step-by-step explanation:

Red Ball = 8;

Blue balls = 3;

Yellow Balls = 2;

Total Balls = 8+3+2 = 13;

Probability of selecting Red, Blue, Yellow balls individually;

p(r) = 8/13; p(b) = 3/13; p(y) = 2/13;

Entropy = p(r) log2 (1/p(r)) + p(b) log2 (1/p(b))+p(y) log2 (1/p(y))

Entropy = (8/13) (0.7) + (3/13) (2.11) + (2/13) (2.7)

= 0.430+0.486+ 0.415;

Entropy = 1.331

Answered by Silvestre101287
3

Answer:

Step-by-step explanation:

The answer from above was close, but the round made the equation get off for a little.

All the above was correct, until the very end you will end, where the round changed the the end result for a small amount.

Step 1 = (0.615)(0.7) + (0.231)(2.115) + (0.153)(2.7)

Step 2 = 0.4305 + 0.4158 + 0.4885

Entropy  = 1334

Similar questions