One of the numbers 1through 10is randomly chosen. You are to try to guess the number chosen by asking questions with “yes-no” answers. Compute the expected number of questions you will need to ask in each of the following two cases:

(a) Your ith question is to be “Is it i?” i = 1,2,3,4,5,6,7,8,9,10. (b) With each question, you try to eliminate one-half of the remaining numbers, as nearly as possible.

Short Answer

Expert verified
  1. Your ith question is to be112
  2. The number of question is3.463.46

Step by step solution

01

Given Information (Part a)

Given in the question that, randomly chosen numbers 1 through 10.

We need to compute the expected number of questions to ask ith question is to be " is it i?".

02

Explanation (Part a)

E[X]=1×110+2×110+3×110+4×110+5×110+6×110+7×110+8×110+9×110+10×110

Because Pof every digit =110

E[X]=110[1+2+3+4+5+6+7+8+9+10]

=110×10×112

=112

03

Final Answer (Part a)

The expected number of question is112.

04

Given Information (Part b)

Given in the question that, randomly chosen numbers 1 through 10.

We need to compute the expected number of questions with each question, you try to eliminate one half of the remaining numbers, as nearly as possible

05

Explanation (Part a)

We need to apply Binary search here,

2n=11

nis number of questions

nln2=ln11

n=ln11ln2

=3.46

06

Final Answer (Part a)

The number of questions is 3.46

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

Suppose that it takes at least 9votes from a 12- member jury to convict a defendant. Suppose also that the probability that a juror votes a guilty person innocent is .2, whereas the probability that the juror votes an innocent person guilty is .1. If each juror acts independently and if 65 percent of the defendants are guilty, find the probability that the jury renders a correct decision. What percentage of defendants is convicted?

Two coins are to be flipped. The first coin will land on heads with probability .6, the second with probability .7. Assume that the results of the flips are independent, and let X equal the total number of heads that result. (a) Find P{X =1}. (b) Determine E[X].

A total of 2n people, consisting of nmarried couples, are randomly seated (all possible orderings being equally likely) at a round table. Let CIdenote the event that the members of couple iare seated next to each other,i=1,...,n.

(a) Find PCi

(b)For ji, find PCjCi

(c) Approximate the probability, for nlarge, that there are no married couples who are seated next to each other.

To determine whether they have a certain disease, 100people are to have their blood tested. However, rather than testing each individual separately, it has been decided first to place the people into groups of 10. The blood samples of the 10people in each group will be pooled and analyzed together. If the test is negative, one test will suffice for the 10people, whereas if the test is positive, each of the 10people will also be individually tested and, in all, 11tests will be made on this group. Assume that the probability that a person has the disease isrole="math" localid="1646542351988" .1 for all people, independently of one another, and compute the expected number of tests necessary for each group. (Note that we are assuming that the pooled test will be positive if at least one person in the pool has the disease.)

Suppose that Xtakes on one of the values0,1and2. If for some constantc,P{X=i}=cP{X=i-1},i=1,2, findE[X].

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