I am trying to design a program to calculate the probability of getting a set of poker hands, but I've been having trouble finding where to start. It would really help me out if someone could assist me with a couple of simple probability questions, and then I should be able to figure out the rest on my own.
Here are the questions I would like help with:
Please note that the cards "in hand" must be used for the final "hand":
1.) With a 51 card deck, if you already have the 10 of clubs in hand, what is the probability that you will draw at least one more 10 from the deck after drawing 20 more cards?
2.) With a 51 card deck, if you already have the 10 of clubs in hand, what is the probability that you will get a royal flush (same suit, 10-J-Q-K-A) after drawing 25 more cards?
3.) If you already have a 3 of hearts in hand, what are the odds that you will be able to get a straight (any 5 card sequence with 2-3-4-5-6-7) if the deck only has two 5s and three 6s, after drawing 20 more cards (deck only has 48 cards left in this case)?
Any suggestions/guidance is very much appreciated!