What's the probability of someone making a certain amount of free throws in a row given their free throw success percentage? If Sally makes 50% of her free shot throws, then Sally's probability of making 5 in a row would be 3%.
freeThrows("75%", 5) β "24%"
freeThrows("25%", 3) β "2%"
freeThrows("90%", 30) β "4%"