If you have a pack of 52 cards and you draw one card out, the
probability that it will be an black card is 26/52 because there are 26 black cards
in a deck of 52 cards. Now you will be down to 51 cards and 25 black cards, so if you draw a second card the probability that this one is also a black card is 25/51.. and so on
prob of picking 3 black cards from a deck = 26/52*25/51*24/50 = .118
The factorial function is useful in computing the number of combinations that can be constructed from a set of objects.
Ex: you have 4 people, and you want to know how many ways they can stand in line. Then 4! = 24 ways
I don't think it is used for probability problems though. Sorry I mentioned it!