1: 0.8
2: 0.4
3: 0.1
4: 0.7
Have a good day and ask questions!!
-Kaylie
What do you need help with?
First, distribute what's inside the parenthesis, and change all the subtractions to addition of negatives.
18 + -2 (x^2 + - 5x)
Next distribute the -2
18 + -2x^2 + 10x
Then I like to rearrange stuff to put it in standard form.
-2x^2 + 10x + 18
Answer:
In the case of a decimal number, we round down to find the actual number of guesses. Therefore, for a 1000-element array, binary search would require at most 10 guesses. (which is 2,097,152), so we would need at most 22 guesses.
Step-by-step explanation: