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
Finger [1]
3 years ago
9

Fast forward to the moment after the two outermost recursive calls complete, but before the final Merge step. Thinking of the tw

o 5-element output arrays of the recursive calls as a glued-together 10-element array, which number is in the 7th position?
Mathematics
1 answer:
adoni [48]3 years ago
4 0

Answer:

The answer is 2.

Step-by-step explanation:

1- Suppose we have following array of ten integers: 5 3 8 9 1 7 0 2 6 4.

2- Before the last merge, the left half and the right half must be sorted. So it should be

1 3 5 8 9 0 2 4 6 7

Therefore the solution is 2.

You might be interested in
If, g(x)=-2(x+2)-6 what is g(b-5)=
Misha Larkins [42]

The value of g(b-5)=-2b

<u>Solution:</u>

In the notation g(x) we know that whatever is put in the parentheses is what we replace for x. In the given situation, since it is g(b-5) we have to replace every x in the function with b-5. That is if,

g(x)=-2(x+2)-6

then, g(b-5)=-2((b-5)+2)-6

\Rightarrow g(b-5)=-2(b-5+2)-6

On solving we get,

\Rightarrow g(b-5)=-2(b-3)-6\rightarrow g(b-5)=-2b+6-6

\Rightarrow g(b-5)=-2b

7 0
3 years ago
Consider a uniform distribution from aequals4 to bequals29. ​(a) Find the probability that x lies between 7 and 27. ​(b) Find th
weeeeeb [17]

Answer:

a) 80% probability that x lies between 7 and 27.

b) 28% probability that x lies between 6 and 13.

c) 44% probability that x lies between 9 and 20.

d) 28% probability that x lies between 11 and 18.

Step-by-step explanation:

An uniform probability is a case of probability in which each outcome is equally as likely.

For this situation, we have a lower limit of the distribution that we call a and an upper limit that we call b.

The probability that we find a value x between c and d, in which d is larger than c, is given by the following formula.

P(c \leq x \leq d) = \frac{d - c}{b - a}

Uniform distribution from a = 4 to b = 29

(a) Find the probability that x lies between 7 and 27.

So c = 7, d = 27

P(7 \leq x \leq 27) = \frac{27 - 7}{29 - 4} = 0.8

80% probability that x lies between 7 and 27.

​(b) Find the probability that x lies between 6 and 13. ​

So c = 6, d = 13

P(6 \leq x \leq 13) = \frac{13 - 6}{29 - 4} = 0.28

28% probability that x lies between 6 and 13.

(c) Find the probability that x lies between 9 and 20.

​So c = 9, d = 20

P(9 \leq x \leq 20) = \frac{20 - 9}{29 - 4} = 0.44

44% probability that x lies between 9 and 20.

(d) Find the probability that x lies between 11 and 18.

So c = 11, d = 18

P(11 \leq x \leq 18) = \frac{18 - 11}{29 - 4} = 0.28

28% probability that x lies between 11 and 18.

3 0
3 years ago
You work as a taxi driver. you earn an average of $75 in tips everyday.
kramer

Answer:

A

Step-by-step explanation:

it should be A because if

x-axis represents the time, at the beginning of the day x = 0 and

y-axis the $, at the beginning of the day should be y= 0

5 0
3 years ago
Read 2 more answers
You estimate that a small restaurant will serve 430 customers
MrMuchimi

Answer:

Step-by-step explanation:

30/430 ≅ 0.07 = 7%

8 0
3 years ago
Read 2 more answers
Which value of x makes the open sentence true? 10 +m2x&lt; 15x-20? 0, 1, 2,3
Zielflug [23.3K]

x=3 if the m was a typo, idk what that means

3 0
3 years ago
Other questions:
  • a super train travels 1,500 miles in 12.5 hours. how many miles does it travel in one hour? 1487.50 1512.50 0.008 120
    5·2 answers
  • QUICKK EXPERTS/ACE/GENIUSES
    12·1 answer
  • What is the solution to the equation fraction 1 over 3x = 6?
    12·2 answers
  • Which of the following is not true about linear functions.
    11·2 answers
  • What is the answer of. 4y+7&gt;-x-3
    12·1 answer
  • 32 is very much need to be answered
    8·1 answer
  • If f(x)=3x^2-4 and g(x)=5x+1, find fog(4) and gof(4)
    14·1 answer
  • Which of the following Could be used to determine the volume of a sheet of metal 50×34 that had identical squares cut out of the
    11·1 answer
  • The coach of the middle school track team collects data on the long jump. He records the length of the best jump in inches for e
    12·2 answers
  • The length of a rectangle is 2cm greater than the width. If the width is increased by 4cm, the area is increased by 88cm^2. Find
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!