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

Mr. Walker asked his students to use the associative property to find an expression that is equivalent to (13 + 15 + 20) + (20 + 47 + 18). The expressions that four students created are shown in the table below.

Expressions Generated by Students
Student
Expression
Jeremy
(20 + 13 + 15) + (20 + 47 + 18)
Layla
(20 + 47 + 18) + (13 + 15 + 20)
Keith
(13 + 20) + (20 + 47 + 18) + 15
Melinda
(13 + 15 + 20 + 20) + (47 + 18)

How many of the students correctly applied only the associative property to rewrite the expression?
one
two
three
four
Mark this and return

Answers

Answer:

Jeremy

Step-by-step explanation:

You need to add 20+13+15=48 Then you add 20+47+18=85.

Clarke earns
2.5
%
interest a savings account each year. If Clarke deposits
$
2
,
000.00
into a savings account, how much interest will Clarke earn during the first year?

Answers

Answer:

$ 50.00

Step-by-step explanation:

Hope this helps!

Simplify. (−5)^5(−5)^−6

Answers

Answer:

Step-by-step explanation:

In exponents multiplication, if bases are same, add the powers

[tex]a^{m}*a^{n} =a^{m+n}\\\\\\(-5)^{5}*(-5)^{-6}=9-5)^{(-5) + (-6)} = (-5)^{-11}[/tex]

Answer:

Your answer would be:
-1/5 or -0.2




Step-by-step explanation:

Have a great rest of your day
#TheWizzer

Which sequence shows the numbers in order from least to
greatest?
OA) -2.45 x 102, 193, 6.987
OB) 6.987, -2.45 x 102, 793
OC) V93, 6.987, -2.45 x 102
OD) -2.45 x 102, 6.987, 793

Answers

Answer:

D

Step-by-step explanation:

Just did it

(a−2b)^3 when a=−4 and b=−1\2

Answers

Answer:

- 125

Step-by-step explanation:

here is a screenshot please help 15 points

Answers

Length is 2 cm and angle is 135

You need to raise a total of $1,000 for your trip. There are 20 days before you leave. You estimate that you will be able to sell 25 candy bars per day. How much should you charge for each candy bar?

Answers

Answer:

1,000 ÷25 = 40 so 40÷20= $2.00

your answer is $2.00 hope this helps

What is the value of the function y= 2x – 3 when x = -1?
O --5
O-1
o 2
03

Answers

Answer:

y= 2x-3

when X= -1

y= 2(-1)-3

y= -2-3

y= -5

The value of the given function y=2x-3 is  -5 when x=-1

What is a function?

A function is a correspondence from the two set A to set B in which each element of set A has a unique image in B. Generally we denote a function by f or y.

Here the given function is y=2x-3

Putting x= -1 in the given function y=2x-3 , we get

y= 2(-1) -3

y= -2-3

y= -5

Hence the value of the function y= 2x-3 is -5 when x=-1 .

To learn more about function click here:

https://brainly.com/question/25649287

#SPJ7

If I need 2 teaspoons of oil for every 4 cups of flour to make 1 batch of
chocolate chip cookies, what would be the ratio I need to make 2 batches
of cookies. How many teaspoons of oil to how many cups of flour?

Answers

Answer:

2:4 or simplify and get 1:2

Step-by-step explanation:

2 tsp. of oil every 4 cups of flour.

Can someone help please no links

Answers

Answer:

-4 or 4 I would have to go with-4!!

Step-by-step explanation:

I hope this helps in any way!!

what is -3 (x+2) = 16 -x

Answers

Answer:

x = -11

General Formulas and Concepts:

Pre-Algebra

Order of Operations: BPEMDAS

Brackets Parenthesis Exponents Multiplication Division Addition Subtraction Left to Right

Distributive Property

Algebra I

Equality Properties

Multiplication Property of Equality Division Property of Equality Addition Property of Equality Subtraction Property of Equality

Terms/Coefficients

Step-by-step explanation:

Step 1: Define

Identify.

-3(x + 2) = 16 - x

Step 2: Solve for x

[Distributive Property] Distribute -3:                                                                -3x - 6 = 16 - x[Addition Property of Equality] Add x on both sides:                                     -2x - 6 = 16[Addition Property of Equality] Add 6 on both sides:                                    -2x = 22[Division Property of Equality] Divide -2 on both sides:                                x = -11

4-0,9+(-0,11)-(-1,3) PLEASE HELP

Answers

Answer:

-20

Step-by-step explanation:

PEMDAS

a certain store is selling packages of 10 pencils and 4 pens. the manager wants to make a larger package in the same ratio. if the large package has 10 pens, how many pencils are in the large package?

Answers

Answer: 25 pencils

Step-by-step explanation:

2 × 5 = 10

5 × 5 = 25

The sum of two numbers is 110.The larger number is 2 less than 7 times the smaller.Find the Large number

Answers

Answer:

The larger number is 96.

Step-by-step explanation:

[tex]let \: the \: two \: numbers \: be \: a \: and \: b \\ a + b = 110 \\ let \: a \: be \: the \: larger \: number \\ a = 7b - 2 \\ we \: can \: get \: the \: value \: of \: b \: by \: substituting \: the \: value \: above \: for \: a \: in \: eq \: 1 \\ 7b - 2 + b = 110 \\ 8b - 2 = 110 \\ 8b = 110 + 2 \\ 8b = 112 \\ b = \frac{112}{8} \\b = 14\\ calculate \:the \: value \: of \: a \: using \: the \: equation \: above \\ a + b = 110 \\ a = 110 - 14 \\ a = 96 \\ hence \: the \: large \: number \: is \: 96[/tex]

Each container on a cargo ship holds 60 boxes of furniture.
Which table shows the values for 60c, the number of boxes
in c containers?
4
5
6
Number of Containers, C
Number of Boxes, 60c
240 300 360
4
5
6
Number of Containers, C
Number of Boxes, 60c
240 280 320
B.
4
5
6
Number of Containers, C
Number of Boxes, 60C
240 350 460
C

Answers

Answer:

imagine cheating on your star assessment but same tho the answer is c

Step-by-step explanation:

because i solved it on paper

Answer:

Step-by-step explanation:

C

The FM radio station KAMB broadcast from an antennae atop a 150 meter tall radio tower at a frequency of 90 MHz with a total radiated power of 40 kilowatts. Neighbors have complained about problems they attribute to excessive radiation from the tower, but the city engineer who measured the radiation level near the base of the tower found it to be well below the accepted standard. You have been hired by the HOA to assess the engineer's report. You know a few things about electromagnetic radiation and therefore conclude that we must find the optimum place on the ground to measure the maximum radiation emitted from the antennae. From your extensive knowledge in physics, you know that the intensity of radiation, I, is given by the formula:
I=12/32π*Psin2(θ)/r^2
where P is the power output, r is the distance from the top of the tower to the point on the ground, and θ is the angle measured from the tower to r.

Find the distance R from the base of the tower to the optimum location for taking the radiation reading. (m)
What is the maximum radiation reading from the ground in kw/m^2
If the city code requires that electromagnetic radiation be under 200 microwatts per square meter, is this antenna operating within city code? Yes or No

Answers

Answer: 150 m, 5.305*10^-5 kW/m^2, No

Step-by-step explanation:

See attachment, hope this helps

Using the radiation intensity formula we will have to:

a) [tex]150 m[/tex]

b) [tex]5.305*10^{-5} kW/m^2[/tex]

c)No

From the data informed, we have:

[tex]h=150m\\P=40KW[/tex]

Using the given formula and performing some mathematical operations:

[tex]I=\frac{12Psin^2(\theta)}{32(\pi)r^2} \\I= \frac{12(40)(R/r)^2}{32(\pi)r^2} \\= \frac{15R^2}{r^2\pi } \\= \frac{15R^2}{(R^2+150^2)^2\pi} \\[/tex]

deriving the given equation, we will have:

[tex]=\frac{(R^2+150^2)^22R-R^2(2(R^2+150^2))2R}{(R^2+150^2)^2}[/tex]

So from this equation we have that the answer of the letter A corresponds:

[tex]R=150[/tex]

For letter B we will have to develop this equation:

[tex]I= 5.30X10^{-5}[/tex]

As for the letter C, when converting the value found, it should give 200 microwatts, which is false.

Learn more: brainly.com/question/10148635

The standard diameter of a golf ball is 42. 67 mm. A golf ball factory does quality control on the balls it manufactures. Golf balls are randomly measured to ensure the correct size. One day, an inspector decides to stop production if the discrepancy in diameter is more than 0. 002 mm. Which function could represent this situation?.

Answers

The absolute value function that could represent this situation is:

[tex]|D - 42.67| = 0.002[/tex]

The absolute value function is defined by:

[tex]|x| = x, x \geq 0[/tex]

[tex]|x| = -x, x < 0[/tex]

It measures the distance of a point x to the origin.

The diameter should be of 42.67 mm with an allowance of 0.002 mm. Thus, the absolute value of the difference between the diameter and of 42.67 should be of 0.002, that is:

[tex]|D - 42.67| = 0.002[/tex]

A similar problem is given at https://brainly.com/question/24514895

( ꈍᴗꈍ)
introduction to algebra explain

Answers

Answer:

Algebra is the branch of Maths that uses alphabetical letters to find unknown numbers. These letters are also called variables. ... Algebra involves the simple operation of mathematics like addition, subtraction, multiplication, and division involving both constant as well as variables. For example, x+10 = 0.

Step-by-step explanation:

In its most general form, algebra is the study of mathematical symbols and the rules for manipulating these symbols; it is a unifying thread of almost all of mathematics. It includes everything from elementary equation solving to the study of abstractions such as groups, rings, and fields.

Hiiii!

Here's what algebra is:

Algebra is a branch of mathematics dealing with symbols and the rules for manipulating those symbols. In elementary algebra, those symbols (today written as Latin and Greek letters) represent quantities without fixed values, known as variables. ... The letters x and y represent the areas of the fields.

In simple words: a generalization of arithmetic in which letters representing numbers are combined according to the rules of arithmetic.

Hope it helps! ( ꈍᴗꈍ)

-Nezuko

you're so cool! I hope you have an awesome day!​

Answers

Answer:

The functions each have a positive Slope

a.)True, False

Step-by-step explanation:

Function A Slope: (y2-y1)/(x2-x1) = (7-3)/(2-1) = 4

Function B Slope: Count Four Boxes up from the 2 intercepts and then 2 over --> 4/2 = 2

These are both positive but 4 does not equal 2

a.) We have just proved that they have different slopes now we must determine if they have the same b. Because we know the slope of Function A we can simply move backward to get to x=0

When X=0 y= 3-4 = -1 And because in Function B we can clearly see the b at y=4 this is false.

Hope this helps and makes you have an Awesome Day!

A painter checks a canvas to be sure it is rectangular. One of the canvas’ diagonals measures 48 inches. If the canvas is a rectangle, what is the measure, in inches, of the other diagonal?

A.)24
B.)12
C.)96
D.)48

Answers

Answer:

D)48

Step-by-step explanation:

D) 48

Step by step explanation

Which of the following is the difference of two squares

4g-16h
16a^2-4y^2
2x^2-4y^2
25m^3+100n^2

Answers

Answer:

2nd option

Step-by-step explanation:

A difference of squares has the general form

a² - b²

where the terms on either side of the subtraction ( the difference ) are both perfect squares.

The only one fitting this description is

16a² - 4y²

= (4a)² - (2y)² ← difference of squares

What’s that answer please

Answers

it is an isosceles triangle :)

Pls help this is due today and i have no idea

Answers

Answer:

x=38°

Step-by-step explanation:

sinx/21 =sin(38°)/21

sinx=21Sin(38°)/21

x = arcsin(21Sin(38°)/21)

x=38°

Evaluate the expression below.

​5^{0}5
0

Answers

The 5-0-5 Agility Test is one of the most commonly recognised agility tests, despite its inability to actually measure agility. Instead, this is a change of direction speed test, which contrary to common belief, may not be capable of distinguishing between dominant and non-dominant leg performances.

answer the three questions pls

Answers

If you divide the cost by the ounces, that will be the unit rate.
3.60 divided by 12 is 0.3 or 30 cents. 5 divided by 20 is 0.25 or 25 cents. 6.40 divided by 32 is 0.20 or 20 cents

need help ASAP its due tonight

Answers

Answer:

Step-by-step explanation:

15/3 + 3 =

15/3 + 9/3 =

24/3 =

8

2(15) + 3              30 + 3                    33

-------------  =       --------------   =     ----------------

   3                           3                      3

33/ 3 =

11

mark me brainliest :D

       

first one is 15 divided by 3 which is 5 so 5+3 and then the next answer is 11 because 2x15 is 30 and 30+3 is 33 and 33 divided by 3 is 11 so in conclusion
first answer: 8
second answer:11

BRAINLIEST
Solve for X. Round to the nearest tenth.

Answers

Answer:

12

Step-by-step explanation:

there is no x in the question

please help please pleas

Answers

Answer:

8,8,6

Step-by-step explanation:

Since AB = BC, 4y = 3y+2

solving, y = 2

then we plug it back into the equations and get the answers

Answer:

Step-by-step explanation:

Givens

AB = BC

AB = 4y

BC = 3y + 2

AC = 3y

Solution

AB = BC

4y = 3y + 2                 Subtract 3y from both sides

4y -3y = 3y-3y + 2     Combine

y = 2

AB = 4y = 4*2 = 8

BC = 3y + 2 = 3*2 + 2 = 6+2 = 8

AC = 3y = 3*2 = 6

The maximum land speed of a cheetah is about 120km/hour.
What is this speed limit, rounded to the nearest whole number, in m/s?

Answers

Answer:

  33 m/s

Step-by-step explanation:

  120 km/h × (1 h)/(3600 s) × (1000 m)/(1 km) ≈ 33 m/s

_____

Additional comment

In general, units conversion is done by multiplying by a factor whose numerator and denominator have equal values, but different units. The units in that fraction need to be arranged to cancel the units you don't want and leave the units you do want.

If h(x) = 15x - 171, find h(3)

Answers

H(3) means to replace x in the equation with 3 and then solve:

15(3) - 171

45-171

-126

Answer: -126

Other Questions
pls help! Two galaxies on opposite ends of the universe are moving away from the Earth. Each has a velocity of 200,000 km/s relative to the Earth. How fast would an observer in one of those galaxies see the other galaxy moving away?A.200,000 km/s B. between 300,000 and 400,000 km/sc. between 200,000 and 300,000 km/sD. 400,000 km/s 1. According to Thomas Malthus, what would limit population growth in humans?2. What was the population conundrum for Malthus? 3. What was The Cycle of Misery?4. How did Malthusian theory contribute to English policy and exacerbate the problems of the mid-19th century Irish potato famine?5. Was Malthus correct that the population was not going to grow much beyond the number of people that existed during his lifetime? Explain. What, if anything did he not see or account for?6. What did Malthus see when he looked around him that contributed to his gloomy view of a growing population?7. What were the benefits of the Enclosure Acts on agricultural innovation, food supply, and food prices in England?8. What are challenges that climate change may incur on food production and prices?9. Was the 1968 book, The Population Bomb, Neo-Malthusian or Anti-Malthusian? What do we mean by these two terms?10. What did Malthus underestimate?11. Ultimately, do you think Malthus was right? Is the population growing too fast and will it grow beyond humanitys capacity to produce enough food? Has it already?Please help me answer these 11 questions they are due by 5:00 Pm Tonight I will mark brainlistIf a waves amplitude is 2cm, then its height is equal to:5 cm.0 cm4 cm.2 cm the graph shown below expresses a radical function that can be written in the form f(x)=a(x+k)^1/n+c. what does the graph tell you about the value of c in this function? solve the inequality 4x-3=2x+7 What are web protocols. Please help me due on Friday 8. Which scenario best illustrates how the power to make treaties in the United States Constitution provides (1 point) for checks and balances among the three branches of government? The president must sign an executive agreement without the Senate, but must have approval of the House O The Senate must approve a treaty by a two-thirds vote, and its terms must be found to be constitutional by The House of Representatives must approve the treaty by a two-thirds vote, but it can be vetoed by the pre The Supreme Court must decide whether the treaty is constitutional, but Congress tan override the Court Mary Hills asks the respondents in a research study a series of open ended questions that help explain the respondents' feelings and thought on the subject of child labor. Mary Hills is conducting a __________ research. The government of South Carolina incorporated the city of Charleston in order to ____.A.give the city power to solve its own problemsB.strengthen the role of Loyalists and British merchantsC.celebrate the creation of a new state governmentD.reduce the number of debtors HEEEEEEEEEEEEEEEEELLLLLLLPPPPPPPPPPPPPPDNA and RNA contain nucleotides that code for what?A Carbonic AcidsB Amino AcidsC Hydrochloric Acids D Lactic Acids help me pls I'm so confused Identify four (4) different types of credit (purposes) The type of fibers specialized to continue contracting for extended periods of time, as would be required in running a marathon, for example, are _____ fibers. is macbeth is guilty if tan2x = 3 then value of x is List three examples of plagiarism and discuss how plagiarizing as a student affects the integrity of a baccalaureate degree, the public perception of the nursing profession, and evidence-based practice. Describe two things you will do to ensure academic integrity in your work. warning- this is malayalamand people who doesn't know it, don't even bother to help ?key point to remember - 2. What are the challenges of wind energy that causes decrease in the electrical production? 3. Give two solutions: 1. Modification in the structure of the turbine 2. Modification in the function of the turbine.4. You must estimate the cost in each solution, and which one is more affordable and efficient for the municipality to go for.5. You must make sure that there is minimal energy loss. What is the measurement of this angle?