Tag: Probability
-
VB functions for determining red/black numbers on roulette wheel
Here are two simple functions for calculating if a number falls on red or black on a roulette wheel, for the perfectionists that don’t want to use odd/even.
-
8 Suits – eight suited playing cards
8 Suits, as you guessed is a deck of playing cards with an additional 4 suits, the clover, tear, crescent and star for a total of 104 cards plus a number of jokers. Priced at $12 USD per deck plus $5 per postage ($13 per postage internationally), it is a little steeper than The Fat…
-
Poker hands probability calculator for any number of suits and ranks (denominations)
After purchasing a 5 suited deck of cards and an 8 suited deck of cards, I decided to work out how the numbers of suits affect the probabilities of each poker hand. Further, the following can calculate combinations and probabilities for any number of suits and any number of ranks (number of denominations). You will…
-
PHP Factorial and Combination functions
A quick post on two functions for PHP that provide factorial and combination support.