1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
jok3333 [9.3K]
4 years ago
7

Drew writes down a number between 1 and 1000. Mary must determine that number by asking "yes/no" questions of Drew. Mary knows t

hat Drew always tells the truth. If Mary uses an optimal strategy, then she will determine the answer at the end of exactly how many questions in the worst case?
Mathematics
1 answer:
frozen [14]4 years ago
4 0

Answer: 10 questions.

Step-by-step explanation:

The optimal aproach would be divide the total range in half, for example, she can ask:

Is the number equal or greater than 500?

if he answers no, now she knows that the numer is in the range 1 to 499

if he says yes, she can know that the number is in the range 500 to 1000.

Now, suppose that the answer is yes.

Now she can ask if the number is equal or greater than 750.

Now we have two possible sets. (500, 749) and (750 , 1000).

Now we can divide those sets again, depending on the answer.

suppose we got the set of (750, 1000)

we can divide it into two sets and so on.

So, we have 999 options and we want to divide it by 2 until we reach to 1., the number of divisions by 2 is the number of times that she asked a question.

999/2^n ≤ 1.

we must find the smaller n that keeps the above inequality true.

999 ≤ 2^n

knowing that 2^10 = 1024.

999/1024 = 1024

So in the worst case, she should ask 10 questions.

You might be interested in
PLEASE HELP IMPORTANT!!!!!!!!!!!!!
Sladkaya [172]

Answer:

D Is the correct answer.

Simple math. (:

7 0
3 years ago
What is the value of N below?<br>VVVVVVVVVVVVVVVVVVV
dexar [7]
Hope this helps & if you don’t understand something just ask :)

3 0
4 years ago
Read 2 more answers
What is the value of i^20+1?<br> A. 1<br> B. –1<br> C. –i<br> D. i
lisov135 [29]

ANSWER

{i}^{20}  + 1 =2

EXPLANATION

The given expression is;

{i}^{20}  + 1

Recall that, in complex numbers

{i}^{2}  =  - 1

We use this identity to simplify the given expression:

{i}^{20}  + 1 =( {i}^{2})^{10}  + 1

This implies that:

{i}^{20}  + 1 =(  - 1)^{10}  + 1

{i}^{20}  + 1 =1+ 1

{i}^{20}  + 1 =2

5 0
3 years ago
Read 2 more answers
Hi guys! I have another question... Can you help? Will give 15 pts 2 screenshots below same problem. 1 of them is the problem an
poizon [28]

Answer:

It is SSS

You already have the two sides, and you can see the two triangles share a common line. Therefore you know the unknown is a side.

7 0
2 years ago
How many times does four go in to 22
valkas [14]
5 times with a remainder of 2
7 0
3 years ago
Other questions:
  • I NEED HELP ASAP!!!! QUESTION 4/30, PLEASE HELP ME!!!!
    5·1 answer
  • The sides of a rectangle have the ratio 7:2. its perimeter is 207cm.<br> Find the area
    8·1 answer
  • The sum of 298 and 635 is
    12·2 answers
  • Write a sentence that shows the commutative property of multiplication
    7·1 answer
  • Find: 11<br> 3<br> ÷ 2<br> 3<br><br> The quotient is 5 and ___<br> .
    10·1 answer
  • Find the slope of the line on the graph. Reduce all fractional answers to lowest terms.
    14·1 answer
  • 6 lumberjacks can cut down 15 mahogany trees in 2 hours. How much longer will
    13·1 answer
  • Select all correct answers, marking most brainly :)
    6·2 answers
  • Hi my name is paola and im DONT know
    14·1 answer
  • 5 pts<br> Question 17<br> - + - =<br> -6/14<br> -7/8<br> 6/24<br> 09/14
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!