Permutations and Combinations - Question 2

Screen Link:
https://app.dataquest.io/m/380/permutations-and-combinations/7/unique-arrangements

Hello everyone.
For this question:
2. Calculate the probability of getting a 5-card hand with four aces and a seven of diamonds (assume we’re drawing randomly and without replacement from the deck). Assign your answer to p_aces_7 .

The solution is:
c = permutation(52,5) / factorial(5)
p_aces_7 = 1/c

Wouldn’t this:
p_aces_7=(4/52)(3/51)(2/50)(1/49)(1/48)

also be suitable?

Ty

hey @samyrhelou

Are you 100% sure the “7 of diamond” will always come last in your hand when you are dealt with 5 cards in a deck without replacement!?

there is no chance you won’t get a combo like A7DAAA or AAA7DA or AA7DAA or 7DAAAA assuming all the other 4 cards are Aces etc.

Interesting! :thinking:

1 Like

The numbers are different, they can’t both be correct.

1 Like

Thanks for the answers.

1 Like