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
natulia [17]
3 years ago
5

uppose that we have a function with a constant amount of work done in initialization, a call to a log-linearsorting algorithm, a

nd a loop that iterates n times, doing a linear amount of work in each iteration.What is the running time of the algorithm
Mathematics
1 answer:
White raven [17]3 years ago
7 0

Answer:

The running time is quadratic (O(n²) )

Step-by-step explanation:

For the set up, we have a constant running time of C. The, a log-linearsorting is called, thus, its execution time, denoted by T(n),  is O(n*log(n)). Then, we call n times a linear iteration, with a running time of an+b, for certain constants a and b, thus, the running time of the algorithm is

C + T(n) + n*(a*n+b) = an²+bn + T + C

Since T(n) is O(n*log(n)) and n² is asymptotically bigger than n*log(n), then the running time of the algorith is quadratic, therefore, it is O(n²).

You might be interested in
Exponential expression please help
Lelechka [254]

{3}^{ - 2}  =  \frac{1}{9}
8 0
3 years ago
Read 2 more answers
Rosted peanuts cost 3 per pound what is the cost of 6 pounds
topjm [15]
If one equals 3 then 3 times 6 = 18 pounds
6 0
3 years ago
Read 2 more answers
Drag the tiles to the correct boxes to complete the pairs. Not all tiles will be used. Consider the graph of the function f(x)=I
Olin [163]

The matching of each transformed function is as follows;

g(x) = 2f(x) → y-intercept at (0,2)

h(x) = f(x) + 2 → asymptote of y=2

j(x) = f(x + 2) → y-intercept at (0,4)

m(x) = function decreases as x increases

<h3>How to match transformations?</h3>

A function is simply defined as a relationship between the inputs and the outputs. Now, we want to map each transformed function.

From the graph of this question as shown in the attached brainly link, the correct matching of each transformation of function f(x) = In x with a feature of the transformed function are as follows;

g(x) = 2f(x) → y-intercept at (0,2)

h(x) = f(x) + 2 → asymptote of y=2

j(x) = f(x + 2) → y-intercept at (0,4)

m(x) = function decreases as x increases

Read more about Transformations at; brainly.com/question/21515360

#SPJ1

5 0
2 years ago
Is the point (−7,1) a solution to the inequality
andrew-mc [135]
Question 1 true not false
8 0
4 years ago
Which is a correct statement about the description “two less than the quotient of a number cubed and sixteen, increased by eight
lisov135 [29]

Answer:

The correct expression is \frac{n^{3}}{16}-2+8

The value when n=4 is 10

Step-by-step explanation:

Let

x------> a number

we know that

The algebraic expression of “two less than the quotient of a number cubed and sixteen, increased by eight” is equal to

\frac{n^{3}}{16}-2+8

For n=4

Substitute the value of n in the expression

\frac{4^{3}}{16}-2+8

4-2+8

10

so

The value when n=4 is 10

7 0
3 years ago
Read 2 more answers
Other questions:
  • This graph shows the temperature in city for eight days what was the temperature range for this period 67 73 80 73 76 75 73 67 a
    10·1 answer
  • Classify square root 36 A. Whole Number B. Integer C. Rational Number D. Irrational Number
    8·2 answers
  • What is the median of these numbers 45,78,34,56
    9·2 answers
  • Instructions:Select the correct answer.
    5·2 answers
  • Apply the distribution property to produce an equivalent expression 2(7g + 7)
    12·1 answer
  • The average of a list of 4 numbers is 90.0. A new list of 4 numbers has the same first 3 numbers as the original list, but the f
    10·2 answers
  • Laura borrowed $1,990 at 5% for 2 years. what was the total interest?
    12·1 answer
  • Answer The Image Please
    12·1 answer
  • Carmen wants to join a gym. Gym A costs $26.76 plus an additional $4 for each visit. Gym B has no initial fee but costs $12.92 f
    12·1 answer
  • Pls help
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!