Question

In: Statistics and Probability

show coding and answer using R A deck of 16 cards, from the bottom up, consists...

show coding and answer using R

A deck of 16 cards, from the bottom up, consists of 4 ♣, 4 ♠, 4 ♦, and 4 ♥. The cards are cut at a random place. Let Tk be the event that the all the cards of every suit are together after cut k.

(a) Assuming that all possible cuts are equally likely, find P(T2).

(b) Find P(Tk+1) in terms of P(Tk). (c) If the deck is repeatedly cut many, many times, what is the approximate probability the cards will be together by suit?

Solutions

Expert Solution

The number of permutations of 16 cards is .

Let the probability that the present position of cards is such that all the cards of every suit are together is

. All all the cards of every suit are together in ways,

So .

a)Now there are 16 possible cuts out of which 4 will results in all the suits together. So,

If the first cut does not results in all the suits together, the second cut can result in all the cards together with probability (if cut at the position you previously cut , its probability being 1/16). The events being disjoint,

b) So the recursive relation is

c) The recusrive relation is implemented in R. The probability converges to

  • 0.07692308.

The R code for calculating the probability recursively is given below:

PT_k <- function(k)
{
if(k==1)
{
    return (1/36324288000/4)
}
else
{
    return(3*PT_k(k-1)/16+1/16)
  
}
}

PT_k (89)


Related Solutions

A poker hand consists of five cards randomly dealt from a standard deck of 52 cards....
A poker hand consists of five cards randomly dealt from a standard deck of 52 cards. The order of the cards does not matter. Determine the following probabilities for a 5-card poker hand. Write your answers in percent form, rounded to 4 decimal places. Determine the probability that exactly 3 of these cards are Aces. Answer:  % Determine the probability that all five of these cards are Spades. Answer:  % Determine the probability that exactly 3 of these cards are face cards....
A poker hand consists of five cards randomly dealt from a standard deck of 52 cards....
A poker hand consists of five cards randomly dealt from a standard deck of 52 cards. The order of the cards does not matter. Determine the following probabilities for a 5-card poker hand. Write your answers in percent form, rounded to 4 decimal places. Determine the probability that exactly 3 of these cards are Aces. Answer: % Determine the probability that all five of these cards are Spades. Answer: % Determine the probability that exactly 3 of these cards are...
A poker hand consists of 5 cards dealt from an ordinary deck of 52 playing cards....
A poker hand consists of 5 cards dealt from an ordinary deck of 52 playing cards. How many different hands are there consisting of four cards of one suit and one card of another​ suit?
A bridge hand consists of 13 randomly-dealt cards from a standard deck of 52 cards. What...
A bridge hand consists of 13 randomly-dealt cards from a standard deck of 52 cards. What is the probability that, in a randomly-dealt bridge hand, there is no card that is a ten or higher? (By ten or higher we mean that a card is either a ten, a jack, a queen, a king, or an ace.)
A deck consists of cards with 5 suits labelled A to E and numbered ranks from...
A deck consists of cards with 5 suits labelled A to E and numbered ranks from 1 to 6 . Each card is equally likely to be drawn. Suits A to C are red. Suits D to E are blue. A card is drawn at random from this deck. 1) What is the probability of it having a rank less than or equal to 2 given it has a rank less than or equal to 3? 2)What is the probability...
A deck of 10 cards consists of 3 hearts cards (♥) cards, 3 diamonds (♦) cards,...
A deck of 10 cards consists of 3 hearts cards (♥) cards, 3 diamonds (♦) cards, and 4 spades (♠) cards. The deck is shuffled until the cards are in random order, and then it is determined (without any reshuffling) whether the following three gamblers have won their bets. Alice bets that the 3 hearts cards are together (next to each other, in any order) in the deck, Bob bets that the 3 diamonds cards are together in the deck,...
A) A poker hand consists of five cards randomly dealt from a standard deck of 52...
A) A poker hand consists of five cards randomly dealt from a standard deck of 52 cards. The order of the cards does not matter. Determine the following probabilities for a 5-card poker hand. Write your answers in percent form, rounded to 4 decimal places. Determine the probability that exactly 3 of these cards are Aces. Answer: % Determine the probability that all five of these cards are Spades. Answer: % Determine the probability that exactly 3 of these cards...
From shuffled deck of cards, 4 cards are randomly selected without replacement from shuffled deck of...
From shuffled deck of cards, 4 cards are randomly selected without replacement from shuffled deck of 52 cards. What is the probability to get at least one ace?
An ordinary deck of 52 cards is well-shuffled, and then the cards are turned face up...
An ordinary deck of 52 cards is well-shuffled, and then the cards are turned face up one by one until a face card (K,Q,J) appears. Find the expected number of cards that are face up. Show and explain plz
1. )A special deck of cards consists of  541 cards,  66 of which are red;  the rest are black....
1. )A special deck of cards consists of  541 cards,  66 of which are red;  the rest are black. If a card is selected at random and you look at it and remember what it is or write it down, then you  replace it into the same deck, shuffle the deck at least 7 times, then select a card. 7 shuffles is an adequate number to thoroughly mix the cards and prevent any doubts,   Find the probability that both cards are red.  leave answer as an...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT