A game has outcomes with the given probabilities and matching payouts. Return (expected_value, variance).
probabilities
payouts
(expected_value, variance)
Input
probabilities = [0.5, 0.5] payouts = [1.0, -1.0]
Output
(0.0, 1.0)
This one's part of Premium. Unlock the full Probability track plus every other premium problem on the site.
solve(...)