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
If l || m,find the value of x, (8x + 20) (11x-31)
allochka39001 [22]

Answer:

x=17

Step-by-step explanation:

8x+20=11x-31

We simplify the equation to the form, which is simple to understand  

8x+20=11x-31

We move all terms containing x to the left and all other terms to the right.  

+8x-11x=-31-20

We simplify left and right side of the equation.  

-3x=-51

We divide both sides of the equation by -3 to get x.  

x=17

6 0
3 years ago
Read 2 more answers
Find the number of ways of arranging the numbers 1, 2, 3, . . . , 9 in a 3 × 3 grid, so that the sum of the numbers in each row
Serggg [28]

Answer: 151,200 combinations

Step-by-step explanation:

So we want to order the numbers 1, 2, .... , 9 in a:

\left[\begin{array}{ccc}1&2&3\\4&5&6\\7&8&9\end{array}\right]

such that the sum in each row is an odd number.

if we add 3 odd numbers we have an odd number.

if we add 2 even numbers, and an od number, we have an odd number.

where the rows are in this case (1, 2, 3), (4,5,6) and (7, 8, 9)

We have 4 even numbers and 5 odd numbers, so one combination can be:

\left[\begin{array}{ccc}1&5&3\\4&7&6\\2&8&9\end{array}\right]

Now, we for this option we can:

permute the numbers in each row: c =3*2*1 options per row and permute the rows, also c = 3*2*1

So only for this combination we have: P = (3*2)^4 possible ways of writing it.

Now, let's find the different combinations of numbers, so you can expect that we will find a lot of combinations, now let's construct them:

Suppose that in the first row we have two even numbers and 1 odd, then for the first even number we have 4 options, for the second 3 options, and for the odd number 5 options, so we have 4*3*5 combinations.

For the second row we also want two even numbers and one odd.

For the first even number we have 2 options, for the second one, and for the odd number we have 4 options, so we have 4*2*1 combinations.

In the last row we want the other 3 odd numbers, so we have 3*2*1 combinations, this adds to:

C = (4*3*5)*(3*2*1)*(4*2*1) = 2880 combinations.

If we add the fact that the rows can interchange positions, we have other 3*2*1 combinations:

C = 2880*3*2 = 16,800 and if now we add the fact that the numbers in the first two rows can permute (it is not the same (2, 4, 5) than (2, 5, 4) or (4, 2, 5)) (this happens because in these two rows we have different types of numbers, while in the third one the permutations are already included)

So the thing that can change in the first two rows is the position of the odd number, can be first, second or third, so we have other 3 permutations for the two first rows:

C = 16,800*3*3 = 151,200  which is the total number of  different combinations.

5 0
3 years ago
234 &gt; 13n<br> I need the answer with a explanation plz and thnks
tekilochka [14]

Answer:

18 > n

Step-by-step explanation:

divde by 13

234/13 > n

18 > n

7 0
3 years ago
Y=-2/9x+2<br><br> turn this linear equation into standard form
vredina [299]
Hi there!

Standard form is ax + by = c. 

Now, we just need to simplify the equation enough so that we can get the answer: 

y = -2/9x + 2
2/9x + y = 2

Since 2/9x + y = 2 is in standard form, it'd be the answer. 

Hope this helps!
3 0
3 years ago
PLEASE! I need the prime-power factorization for these!!!
jarptica [38.1K]

Answer:

26 is 2×13

27 is 3³

18 is 2×3²

hope it helps :)

6 0
4 years ago
Read 2 more answers
Other questions:
  • Explain how can you use base ten blocks to find 2.16 divided by 3
    7·2 answers
  • Select the three inequalities that are true.
    7·2 answers
  • Acellus: what is x= ? cm
    10·2 answers
  • What is the intermediate step in the form (x + a)2 = b as a result of completing the
    11·1 answer
  • Please help!!!!!!!!!!!!!!!!!!!!
    13·2 answers
  • अब पछताए होत कया जब चिडिया चुग गई खेत अनुचछेद लिखिए​
    5·1 answer
  • Give an example of a counting problem where 2^5 - 1 is the solution. Explain why you must subtract 1.
    6·1 answer
  • PLZ ANSWER GUYS PLZ ANSWER PLZ.
    13·2 answers
  • Which numbers are a distance of 1.6 units from 3 on this number line?
    14·2 answers
  • The area of the triangle is eqaula to the sqare show that x²-3x-2=0​
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!