Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

A fair coin is flipped 10times. Find the probability that there is a string of 4consecutive heads by

(a) using the formula derived in the text;

(b) using the recursive equations derived in the text.

(c) Compare your answer with that given by the Poisson approximation.

Short Answer

Expert verified
  1. The probability that there is a string of 4 consecutive heads by using the formula derived in the text is 0.2451343.
  2. The probability that there is a string of 4 consecutive heads by using the recursive equations derived in the text is 0.2451172.
  3. By comparing the answer we get0.2211992

Step by step solution

01

Given information (part a)

A fair coin is flipped 10times.

We have to find the probability that there is a string of 4consecutive heads by using the formula derived in the text.

02

Explanation (part a)

Define event Eithat marks that starting from the ithposition and on, we havekconsecutive Heads.

From the inclusion-exclusion formula, we have that the probability that there exist such a sequence is

Pl=17El=r=17(-1)r+1l1<<lrPEl1Elr

since we have that n-k+1=7. Using the formula from the text (page 151), we have that the probability is equal to

Pl=17El=r=17(-1)r+110-4rr+210-4rr-1125r

Use Ror some similar programming language (code in Rgiven below) yields that the answer is0.2451343.

03

Program (part a)

calc=function(r){c=(-1)^(r+1)*0.5^(5*r)*(choose(10-4*r,r)+2* choose(10-4*r,r-1))return(c)}

x=c(1,2,3,4,5,6,7)

for (rinx)

{c[r]=calc(c)}

sum(c)

04

Final answer (part a) 

The probability that there is a string of consecutive heads by using the formula derived in the text is0.2451343.

05

Given information (part b)

A fair coin is flipped 10times.

We need to find the probability that there is a string of 4consecutive heads by using the recursive equations derived in the text.

06

Explanation (part b)

If we mark withPnthe probability that there exist a sequence of kconsecutive Heads, from the page 151we have recursive relation

Pn=j=1kPn-j(1/2)j+(1/2)k

Where we have that P1=P2=P3=0

and P4=116

By Writing the code we obtain the answer0.2451172

07

Step 7:Program(part b)

recursion =function (n)

{localid="1646907144252" If(n==0n==1n==2n==3)return(0)

localid="1646907151840" If(n==4)return(0.0625)

localid="1646907163607" If(n>4)

localid="1646907158807" {Vector=c(1,2,3,4)Summand==c(4)For(jinvector){summand[j]=recursion(n-j)×0.5(j)}return (sum(summand)+0.54}}

recursion localid="1646907179272" (10)

08

Final answer (part b)

By using the recursive equations, we get0.2451172

09

Step 9:Given information(part c)

A fair coin is flipped 10times. We need to compare your answer with that given by the Poisson approximation.

10

Explanation (part c)

With L10<4mark the event that the longest strike of consecutive Heads is shorter than 4.

From the formula on the page 149, we have that the Poisson approximation of that probability is

P(L10<4)exp[-10-4+224+1]=e-0.25=0.7788008

So the probability that exist a strike of length 4or even longer is

P(L104)-1-P(L10<4)=0.2211992

11

Step 11:Final answer(part c)

By the Poisson approximation, we get0.2211992

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Show how the derivation of the binomial probabilities P{X=i}=nipi(1-p)n-i,i=0,,nleads to a proof of the binomial theorem (x+y)n=i=0nnixiyn-iwhen xand yare nonnegative.

Hint: Let p=xx+y.

A student is getting ready to take an important oral examination and is concerned about the possibility of having an “on” day or an “off” day. He figures that if he has an on the day, then each of his examiners will pass him, independently of one another, with probability8, whereas if he has an off day, this probability will be reduced to4. Suppose that the student will pass the examination if a majority of the examiners pass him. If the student believes that he is twice as likely to have an off day as he is to have an on the day, should he request an examination with3examiners or with5examiners?

There are ktypes of coupons. Independently of the types of previously collected coupons, each new coupon collected is of typeiwith probability pi, i=1kpi=1. If n coupons are collected, find the expected number of distinct types that appear in this set. (That is, find the expected number of types of coupons that appear at least once in the set of ncoupons.)

The probability of being dealt a full house in a hand of poker is approximately .0014. Find an approximation for the probability that in 1000 hands of poker, you will be dealt at least 2 full houses.

People enter a gambling casino at a rate of1every 2minutes.

(a)What is the probability that no one enters between 12:00and 12:05?

(b)What is the probability that at least4people enter the casino during that time?

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free