Gambling formula
is the fraction of the current bankroll to wager. is the probability of a win. is the probability of a loss ( ). is the proportion of the bet gained with a win. E.g. If betting $10 on a 2-to-1 odds bet, (upon win you are returned $30, winning you $20), then .
hope it helps..!!!