Calculate how many guesses in binary search algorithm.

Answers

Answer 1

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:


Related Questions

A color printer prints 10 pages in 3 minutes.
How many minutes does it take per page?

Answers

1.6 is the answer …….

Answer:

3.3 secs

Step-by-step explanation:

divide the pages by the minutes

A bakery made 25 dozen cookies.They sold 48 of the cookies how many are left?

Answers

Answer:

I believe it is 252 correct me if I'm wrong

Answer:

252

Step-by-step explanation:

25 dozen is 300 cookies subtract 48 and get 252

I need with this please! It due tonight.

Answers

Answer:

x = 17

Step-by-step explanation:

1. First, we should know that all angles in any triangle add up to 180°.

This means that x + 17 + 6x + 10 + 4x - 34 = 180

2. (Solving)

Step 1: Simplify both sides of the equation.

[tex](x+6x+4x)+(17+10-34)=180[/tex] [tex]11x -7 = 180[/tex]

Step 2: Add 7 to both sides.

[tex]11x - 7 + 7 = 180 + 7[/tex] [tex]11x = 187[/tex]

Step 3: Divide both sides by 11.

[tex]\frac{11x}{11} =\frac{187}{11}[/tex] [tex]x = 17[/tex]

Step 4: Check if solution is correct.

[tex](17)+17+6(17)+10+4(17)-34=180[/tex] [tex]17 + 17 + 102 + 10 + 68 - 34 = 180[/tex] [tex]214 - 34 = 180[/tex] [tex]180 = 180[/tex]

Therefore, x = 17.

Answer:

x=17

Reasoning:

The three interior angles of a triangle will always have a sum of 180°. Thus, you could make an algebraic equality with this information.

[tex]6x+x+4x+17+10-34=180[/tex]

[tex]11x-7=180[/tex]

[tex]11x=187[/tex]

[tex]\frac{11x}{11} =\frac{187}{11}[/tex]

[tex]x=17[/tex]

Pls helpp
1: Find the slope:

Answers

m = (3 - 1) / (0 - (-4)) = 2 / 4 = 2

Can someone help? Will give brainly if correct!

Answers

Answer:

7.03, 6.75, 6.72, 6.08, 6.4

Step-by-step explanation:

Help! Keep getting it wrong, I suck at this. Question is in the picture. Thank you! Please show your work!

Answers

Answer:

D.

Step-by-step explanation:

Interest is earn at a rate of 4.46%/ year, while this is after 3 years

=> interest earned in 3 years: 3($1700 x 4.46%) = $227.46

How much $1700 will worth after 3 years: $1700 + $227.46 = $1927.46

Aight, I'm heading to bed now. It's 0:10 here

What would be the dimesions of the pool if the length is 15 feet longer then the width and they put up an 110 feet of fence around the pool
Help ASAP ill give Brainly
PlS HELP ME
NO BOTS PLS

Answers

Answer:    Use Gauth Math. What is the topic about?

Step-by-step explanation:

Graph the line that has a slope of 4 and includes the point (0,4)

Answers

Answer:

Step-by-step explanation:

it goes straight across 4 ( up and down)

Answer:

Step-by-step explanation:

Start with the standard form of an equation for a straight line:

y=mx+b,

where m is the slope and b is the y-intercept (the value of y when x = 0).

We are given the slope (4), so we have:

y = 4x + b

We can calculate b from the given point, (0,4).  Just enter the values for x and y and solve for b.  But in this case the given point already tells us the value of b since at x = 0, y = 4.  So we can enter it directly.

------

For reference, if we went ahead and solved for b, this is what we'd get:

y = 4x + b

4 = 4*(0) + b

b = 4

-----

So the final equation of this line is y = 4x + 4

The graph is attached.

¿Cuál es la probabilidad de que una mujer que ha sido vacunada en este lapso de cuatro
meses haya recibido su segunda dosis en octubre ?

Answers

Answer: buddy if you put it in English i can do it I’m a teacher

Step-by-step explanation:

Find the slope of the line below.

Answers

Answer:

2/1

Step-by-step explanation:

I need help with 12 and 14, will give Brainliest

Answers

Answer:

12. 12.8 is the answer without rounding, 13 is the answer with rounding

story: you buy 4 apples for 3.2 cents each, since you cannot pay in less than a cent, you must give the seller 13 cents for the 4 apples

14. 12/7 is the answer without rounding, with rounding its 1

you have 3 1/7 of an apple, and your friend wants you to split it into 1 5/6 pieces, but you can't, so your friend is nice and only takes less than his part

Step-by-step explanation:

Work out the circumference of this circle.
Take it to be 3.142 and write down all the digits given by your calculator.
10 cm.

Answers

Answer:

62.84

Step-by-step explanation:

pie=3.142

c=pie * diameter

r=10cm

d=2r

d=2(10)=20cm

c=3.142 * 20

c=62.84

Step-by-step explanation:

Formula for the Circumference of a circle = 2πr

C = 2πr

C = (2 * 3.142) * 10

C = 6.284 * 10

C = 62.84cm

What is the slope between the points (-2, 3) and (1, 0)

Answers

you’re going to use the formula: y2-y1/x2-x1
plug that in: 0 - 3/-1 - 2 = -3/-3 or 1

Write the number 0.000 000 7 in standard form.

Answers

Answer:

7 x 10^-7

Step-by-step explanation:

your grade varies directly with the time you study if you study for 40 minutes your grade is an 80 how long should you study to get a 95

Answers

Answer:

47.5 minutes

Step-by-step explanation:

40 min = 80

x min = 95

40/80 = x/95

3800 = 80x

x = 47.5

-Chetan K

factorize 21xy - 14xz - 28wx

Answers

Answer:

7x(3y - 2z - 4w)

Step-by-step explanation:

21xy - 14xz - 28wx ← factor out 7x from each term

= 7x(3y - 2z - 4w)

Answer:

7 x . (3y - 2z - 4w

Step-by-step explanation:

Four friends went to dinner. They each ordered a meal and decided to split the final bill evenly between them. They left a tip of $12. The final cost of the meal and tip was $74.00. what was the price each person paid for their meal before tip?

AGAIN BE SERIOUS THIS IS DUE TOMORROW

Answers

$74 - $12 = $62
62 divided by 4 = $15.5 each
$15.50 is the answer, you subtract the tip and divide by 4

Simplify the following: ​

Answers

Answer:(5x+8)/[(x+4)(x-1)(x+3)]

Step-by-step explanation:

1. First factorize the quad expressions in the denomeneter of both fractions.

2. Then choose you arithmetic common denomeneter .

3. And the rest is child's play.

There are 2 answers if you need one :)

Zane calculated the missing side length of one of these triangles using the pythagorean theorem. Which triangle is it? a b c d.

Answers

Answer:

d

Step-by-step explanation:

Find the quotient of
4
5
and
9
10

Give your answer as a fraction in its simplest form.

Answers

Answer:

8/9

Step-by-step explanation:

4/5 ÷ 9/10

4/5 x 10/9

40/45 or 8/9

A division is a process of splitting a specific amount into equal parts.8/9 is the quotient for 4/5 ÷ 9/10.

What is Division?

a division is a process of splitting a specific amount into equal parts.

While doing division process we have some important parts of division which are dividend, divisor, remainder and Quotient.

In the given problem 4/5 is he divisor and 9/10 is the divisor.

Four by five divided by nine by ten

4/5 ÷ 9/10

When two fractions are divided, the division turn to multiplication when the denominator fraction shifts to up.

4/5 x 10/9

Cross over the fraction with 5.

40/45

8/9

Hence 8/9 is the quotient for 4/5 ÷ 9/10.

To learn more on Division click:

https://brainly.com/question/21416852

#SPJ5

Fill in the blank to make the two fractions equivalent.

3/7=blank/42

Answers

Answer:

18/42

Step-by-step explanation:

Find the common factor of the denominators i.e the common factor of 7 and 42. The answer is 6. Multiply the fraction with the smallest denominator by the common factor (3/7 ×6/6) answer is 18/42

Hope you understand

is 1/4 bigger than 3/5

Answers

Answer:

No.

Step-by-step explanation:

If you plug both fractions into a calculator, you will get:

1/4 = 0.25

3/5 = 0.60

Since 25 is less than 60, 1/4 is not greater than 3/5.

levi finds a skateboard that sells 139.99. the store charges 6% sales tax about how much money will he have to spend for his skateboard?

Answers

The amount Levi spends on this skateboard is $148.39.

Tax is an amount levied on goods and services by the government. Taxes increases the price of goods and services.

The amount Levi spends on this skateboard = value of the tax + cost of the skateboard

value of the tax = 6% x $139.99

0,06 x $139.99 = $8.40

The amount Levi spends on this skateboard = $8.40 + $139.99 = $148.39

To learn more about taxes, please check: https://brainly.com/question/19540033

The angle measurements in the diagram are represented by the following expressions

Answers

Answer:

∠ B = 45°

Step-by-step explanation:

∠ A and ∠ Bare alternate exterior angles and are congruent , then

5x - 15 = 2x + 21 ( subtract 2x from both sides )

3x - 15 = 21 ( add 15 to both sides )

3x = 36 ( divide both sides by 3 )

x = 12

Then

∠ B = 2x + 21 = 2(12) + 21 = 24 + 21 = 45°

Solve this for 50 points

Answers

3< -5x+2x
3< -3x
-3x>3
3x> -3
X> -1
[tex]3 < - 5x + 2x \\ 3 < - 3x \\ - 3x > 3[/tex]

- BRAINLIEST answerer

Need only #5 done (Show work) will give brainliest

Answers

The distance between K and M = 35 (from the question)

[tex]2x - 5 + 2x = 35[/tex] (Reason: All individual distances in a line i.e. [tex]KL[/tex] and [tex]LM[/tex] sum up to give the distance [tex]KM[/tex]).

Collecting like terms:

[tex]2x + 2x = 35 + 5[/tex], [tex]4x = 40[/tex] (Reason: All similar terms in an expression can be computed with one another i.e. added or subtracted).

Dividing by the variable's coefficient:

[tex]4x = 40[/tex], [tex]x = 10[/tex] (Reason: The coefficient is a similar factor to both terms in both sides, diving 40 by 4 gives you 10, hence the statement has been proven).

Step-by-step explanation:

Statement                                ReasonL is between K and M             GivenKM = 35                                    GivenKL = 2x - 5, LM = 2x                 GivenKM = KL + LM                           Segment addition 35 = 2x - 5 + 2x                        Substitution 35 + 5 = 4x                                Addition property40 = 4x                                      Simplification10 = x                                         Division propertyx = 10                                         Proved

Hi I was wondering if someone can help me with the math problem?

Answers

Answer: 20:12 for the first one

Step-by-step explanation:

5:3, 20:12,

Solve each question with the quadratic formula
6a² + 10 = 0


I know the answer but I'm not to sure how imaginary roots work. I would really appreciate if someone could explain how imaginary roots work! :)

Answers

Answer:

[tex]\boxed{\sf a=\cfrac{\sqrt{15i} }{3}}[/tex]

[tex]\boxed{\sf a=-\cfrac{\sqrt{15i} }{3}}[/tex]

Step-by-step explanation:

[tex]\sf 6a^2 + 10 = 0[/tex]

We'll solve this equation using The Quadratic Formula:

[tex]\boxed{\sf \frac{-b\pm \sqrt{b^2-4ac} }{2a} }[/tex]

[tex]\sf 6a^2 + 10 = 0[/tex]

Substitute 6: a, 0: b, 10: c

[tex]\longmapsto\sf a=\cfrac{0\pm\sqrt{0^2-4\times 6\times 10} }{2\times 6}[/tex]

→ Square 0

→ Multiply -4 * 6= -24

→ Multiply -24 * 10 = -240

[tex]\longmapsto\sf a=\cfrac{0\pm\sqrt{-240} }{2\times 6}[/tex]

→ Take the square root of -240:

Multiply 2 * 6= 12

Now, Separate solutions:

[tex]\longmapsto\sf a=\cfrac{0\pm 4\sqrt{15i} }{12}[/tex]

Now, Separate solutions:

First, solve the equation when ± is plus:

[tex]\longmapsto \boxed{\sf a=\cfrac{\sqrt{15i} }{3}}[/tex]

___

Now, solve it when ± is minus:

[tex]\longmapsto \boxed{\sf a=-\cfrac{\sqrt{15i} }{3}}[/tex]

__________________________________________

[tex]\sf\longmapsto 6a^2+10=0[/tex]

a=6b=0c=10

[tex]\sf\longmapsto a=\dfrac{-b\pm\sqrt{b^2-4ac}}{2a}[/tex](This a is root of equation)

[tex]\sf\longmapsto a=\dfrac{-0\pm\sqrt{0^2-4(6)(10)}}{2(6)}[/tex]

[tex]\sf\longmapsto a=\dfrac{\pm\sqrt{-240}}{12}[/tex]

[tex]\sf\longmapsto a=\dfrac{\pm\sqrt{240}i}{12}[/tex]

[tex]\sf\longmapsto a=\dfrac{\pm 4√15i}{12}[/tex]

[tex]\sf\longmapsto a=\dfrac{\pm √15i}{3}[/tex]

[tex]\sf\longmapsto a=\dfrac{\pm √3√5i}{3}[/tex]

[tex]\sf\longmapsto a=\pm\dfrac{√5i}{\sqrt{3}}[/tex]

[tex]\sf\longmapsto a=\pm\sqrt{\dfrac{5}{3}}i [/tex]

What is i?

i stands for iota.

[tex]\sf\longmapsto i=\sqrt{-1}[/tex]

Help me out! Find the value of x angle theorems part 3 triangle

Answers

Answer:

x = 3

Step-by-step explanation:

The triangles are similar.

x + 9 is twice 2x.

x + 9 = 2(2x)

x + 9 = 4x

9 = 3x

x = 3

What percentage of a dollar is the value of 1 nickel and 3 pennies?

Answers

Answer:

8%

Step-by-step explanation:

1 dollar is 100 cents. 1 nickel and 3 pennies is 5+3 = 8 cents. 8 cents would be 8/100 = 8% of 100.

1 nickel and 3 pennies is  5.000000681 percent of a dollar.

What is the percentage?

A percentage is a value per hundredth. Percentages can be converted into decimals and fractions by dividing the percentage value by a hundred.

We know 1 nickels which is equal to 5 cents = 0.05 dollars.

1 penny = 0.00000000227 dollars

∴ 3 pennies is = 0.00000000681.

∴ 1 nickel and 3 pennies = 0.05000000681.

∴ 1 nickel and 3 pennies is (0.05000000681/1)×100% of a dollar.

= 5.000000681% of a dollar.

learn more about percentages here :

https://brainly.com/question/24159063

#SPJ2

Other Questions
Two teams are going on a trip to play a game. There will be2 buses to take the students. On each bus, there are 60seats. Teachers and parents will sit in 10 of the seats oneach busHow many seats are available for students on the buses? No links A boy scout has 3 meters of rope. He cuts the rope into cords 3/5 m long. How many cords will he make? Classify the polynomial: x5 + x3 Create a proportion from the given set of numbers:Example: 1, 6, 2, 3Proportion is 1:2=3:625) 3, 6, 7, 14Proportion is _________________26) 2, 6, 5, 15Proportion is _________________27) 7, 2, 14, 4Proportion is _________________28) 2, 2, 1, 4Proportion is _________________29) 10, 5, 8, 4Proportion is _________________30) 3, 12, 8, 2Proportion is _________________ doan van ke lai kli niem ngay dau tien di hoc the four regions on the coordinate plane are called In chemistry class, Bob recorded the volume of a liquid as 16.1 mL The acual volume was 15.5 mL. Use the formula to find percent error of Bobs measurement to the nearest tenth of a percent Styles of Leadership/Management Con lo mucho que estudias,que no sepas el vocabulario.A. Me sorprendeB. CreoC. Estoy seguraD. Es verdad How did the process by which Malcom learned to read differ from the typical way people learn to read i need help pwease help me i give brainly 3plss help................................... In which case did the U.S. Supreme Court hold that the defendant has the right to counsel during the course of any police interrogation Katie invested a total of $6000 part at 3% simple interest and part at 4% simple interest at the end of one year the investment had earned $216 interest how much was invested at each rate? Make a ClaimDana needs to use the information from her 1098-T form to determine ifshe qualifies for a tax credit. If information is missing on her 1098-T form,leave the matching input field blank.Input amounts from the 1098-T form into matching tax preparation software fields. Quadrilateral LKMN is similar to quadrilateral OPQR. Find the measure of side OP. Round your answer to the nearest tenth if necessary. M*(x+y)+4y/(x^2-xy-y^2)=(x+2y)/(x^2-xy-Y^2),find the value of M ronda is home to one of the oldest _____ in spain. help algebra 2 100 pints if you answer right (951 - 159)(7539-357) x (258-852)