Because the events (draw a red/green/yellow ball) form the full group and do not intersect, we can calculate the expected win/lose for 1 game as
Where "{P(k)}" is a probability of the certain event, that can be calculated as "P(k) = \\frac{{{N_k}}}{N}" where "{N_k}" is the number of k-type balls and "N = \\sum\\limits_k {{N_k}}" is the amount of balls, "{{w_k}}" is the win/lose if we get the k-th type ball (it can be calculated as "{w_k} = {x_k} - y" where "{x_k}" is the win for the k-th type ball and "y" is the price for the 1 game). We get
Then because the games are independent, the total result after 100 times is
Comments
Leave a comment