Re: C Programers (factiorial, what for?)

new topic     » topic index » view thread      » older message » newer message

Hi Don,
Maybe you don't have any used for factorial but it is essential to combinatory
analysis.

for exemple: if you buy a lottery ticket. I suppose that the lottery work like
this:
you choose 6 numbers out of 49 (you can't choose the same number 2 times). How
many chances do you have to win:
this answer is:  fact(49)-fact(43)over fact(49) possible combinations.
You never use it but casinos always use it to compute the odds for a game, so
statistically they exactly know what percentage of the gamers bets will go back
to winners. They can design the machines for says 15% return to players.

  
regards
Jacques DeschĂȘnes


>As for the
>fractorial example (integers only), I do understand that but 
>I have never had the need to find the fractorial of a number.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu