Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Christmas Math Fun
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00064933
Message ID:
00065368
Vues:
57
>>>>>>>However, this excercise brings up an interesting thought. We are extremely dependent on computer machinations to solve our problems for us, and rightly so since many of them can only be solved thru numeric analysis. Nevertheless, it still seems better to use a closed form solution to a problem if it exists for both expediency and the excercise of the mind, :-)
>>>>>>>
>>>>>>>Bill
>>>>>>
>>>>>>Types of problems like this fall into the category of cardinality. Some can't be solved without knowing the theory, since there is no "brute force" method. For example: You and your most significant other decide that for simplicity's sake you're only going to exchange 5 gifts, from a list of 52 (one for each week). Come Christmas morning, how many distinct possibilities (including opening order) are there?
>>>>>>
>>>>>You're right, I wouldn't want to try solving this without a knowledge of permutations...
>>>>
>>>>A bunch !!!!!
>>>
>>>Did I express the problem wrong? It doesn't involve permutations, but rather distinct combinations. Perhaps I should have left the "opening order" business out.
>>>
>>>George
>>
>>If I understand the problem...
>>
>>number of possible combos = 52!/47!
>>
>>or am I missing something?
>
>You're real close.

52!/(47!*5!)
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform