edited by
20,494 views
83 83 votes

Consider the following experiment.

Step 1. Flip a fair coin twice.

Step 2. If the outcomes are (TAILS, HEADS) then output $Y$ and stop.

Step 3. If the outcomes are either (HEADS, HEADS) or (HEADS, TAILS), then output $N$ and stop.

Step 4. If the outcomes are (TAILS, TAILS), then go to Step $1.$

The probability that the output of the experiment is $Y$ is (up to two decimal places)

9 Answers

Best answer
91 91 votes
Answer is ${0.33}$

$1^{st}$ time it is ${0.25}\left(\dfrac{1}{4}\right),$ when tail tail comes, entire process gets repeated, so next time probability of $Y$ to happen is ${0.25}\times {0.25}\left(\dfrac{1}{4}\times \dfrac{1}{4}\right),$ likewise it goes on as infinite GP

Sum of infinite GP $= \dfrac{a}{(1-r)}$

here, $a= \dfrac{1}{4}$ and $r =\dfrac {1}{4}$

so answer becomes $\dfrac{1}{3}$ i.e ${0.33}$
edited by
46 46 votes

Answer should be 0.33

$P(TH)=\dfrac{1}{4}$

$P(HH + HT)=\dfrac{1}{2}$

now if $TT$ comes then toss again,

So, $P(TTTH)=\dfrac{1}{16} $ and so on.... $P(TH+TTTH+\ldots) = \dfrac{1}{4} + \dfrac{1}{16}+\ldots= \dfrac{1}{3}$

edited by
38 38 votes

P(getting the output Y) = P(TH) +P(TTTH) + P(TTTTTH) + P(TTTTTTTH) +  P(TTTTTTTTTH)+  P(TTTTTTTTTTTH)...........

 P(getting the output Y) = 1/4 + 1/42 +1/43 +1/44 +1/45 +1/46+................ = (1/4) / ( 1- 1/4) =1/3

The correct answer is 0.33 .
22 22 votes

You can correct me if I am wrong.

2 2 votes
flipCoinTwice(){
    if (Tails, Heads)
        return Y;
    if (Heads, Heads) or (Heads, Tails)
        return N
    if (Tails, Tails)
        return flipCointTwice()
}

 

$P = Y +  flipCointTwice() \\\ Y +  flipCointTwice() \\\ flipCointTwice() \\\ Y + flipCointTwice() \\\ flipCointTwice() \\\ flipCointTwice() \\\ Y + . . . . . . $

 

consider flipCointTwice()  as a variable F

$P(F) = \frac{1}{4}$

 

$P = Y + F Y + F F Y + F F F Y + F F F F Y + . . . . .  $
 
$P = Y + F [ Y + F Y + F  F Y + F F F Y + . . . . . ] $
 
$P = Y + F [ P] $
 
$P = \frac{1}{4} + \frac{1}{4} [ P] $
 
$ \frac{3}{4}P = \frac{1}{4} $
 
$P = \frac{1}{3} = 0.33$
edited by
Answer:
Position:
Show:

Related questions

54 54 votes
3 answers 3 answers
15.4k
15.4k views
Sandeep Singh asked Feb 12, 2016
15,400 views
A probability density function on the interval $[a, 1]$ is given by $1/x^{2}$ and outside this interval the value of the function is zero. The value of $a$ is _________.
90 90 votes
10 answers 10 answers
38.2k
38.2k views
Sandeep Singh asked Feb 12, 2016
38,225 views
Consider the weighted undirected graph with $4$ vertices, where the weight of edge $\{i,j\}$ is given by the entry $W_{ij}$ in the matrix $W$. W=$\begin{bmatrix} 0&2 &8 &...
117 117 votes
21 answers 21 answers
55.4k
55.4k views
Sandeep Singh asked Feb 12, 2016
55,406 views
Let $G$ be a complete undirected graph on $4$ vertices, having $6$ edges with weights being $1, 2, 3, 4, 5,$ and $6$. The maximum possible weight that a minimum weight s...
137 137 votes
24 answers 24 answers
66.8k
66.8k views
Sandeep Singh asked Feb 12, 2016
66,796 views
For a host machine that uses the token bucket algorithm for congestion control, the token bucket has a capacity of $1$ $\text{megabyte}$ and the maximum output rate is $2...