ErikH2000 wrote:
I am not very knowledgable about math and don't know what the "C" is for. What operation does that perform?
C stands for combinations. The formula for nCr is n!/(r!(n-r)!). Semantically, it means the number of ways you could select r objects out of a set of n objects. For example, if you have a shuffled pile of 52 distinct cards (since we're on the subject) and you drew (or were dealt) five cards, the number of possible hands you could end up with would be:
52C5, or
52!/(5!47!) or
(52*51*...*1)/(5*4*3*2*1 * 47*46*45*...*1) or
52*51*50*49*48/(5*4*3*2*1) which ends up being 2,598,960 possible hands.
The 52*...*47 above can be thought of choosing an item out of 52, followed by another out of 51 (since one is gone), then another out of 50, etc. This gives you the number of hands you could draw where the order you drew is significant. The 5*4*3*2*1 figure is the number of ways you could rearrange your hand, and you divide by that to get a count of selections where order is irrelevant.
[Edited by AlefBet on 09-19-2004 at 07:38 AM GMT]
____________________________
I was charged with conspiracy to commit jay-walking, and accessory to changing lanes without signaling after the fact
.
++Adam H. Peterson