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]
2 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]2 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
What is the slope of the line graphed below?​
melisa1 [442]

Answer:

slope is 2

Step-by-step explanation:

7 0
3 years ago
Find the value of x - Secant and Tangent Angles in Circles
VladimirAG [237]

Answer:

  C.  70°

Step-by-step explanation:

The inscribed angle marked 15° intercepts an arc that is double that measure, so the intercepted arc on the right is 2×15° = 30°.

The external angle marked 20° is half the difference of the intercepted arcs, so is ...

  20° = (1/2)(x - 30°)

  40° = x - 30° . . . . . . multiply by 2

  70° = x . . . . . . . . . . . add 30°

The value of x is 70°.

6 0
3 years ago
Is (8,2) a solution for the system 2y=x-12
erica [24]
I hope this helps you

4 0
3 years ago
Read 2 more answers
Evaluate
damaskus [11]

Answer:

Your search - 32y−3+53z23​y−3+ 35​z when y=6y=6 andz=3z=3. - did not match any documents.


Suggestions:


Make sure all words are spelled correctly.

Try different keywords.

Try more general keywords.

Try fewer keywords.

Step-by-step explanation:


6 0
3 years ago
Will give Brainliest! if right! 
riadik2000 [5.3K]
A is the right answer my bad :(
6 0
3 years ago
Other questions:
  • Solve for n. 5/30= n/60
    8·2 answers
  • Simplify this expression using the distributive property.
    12·2 answers
  • The birth weights for twins are normally distributed with a mean of 2353 grams and a standard deviation of 647 grams. use​ z-sco
    13·2 answers
  • Simplify 2x + x. What is the answer to this?
    8·2 answers
  • Pls help I’ll brainlest
    13·1 answer
  • Plsssss help me.
    13·1 answer
  • I'm thinking of two numbers: a and b.
    12·2 answers
  • I WILL GIVE BRAINLYIST A square is shown below. Which expression can be used to find the area, in square units, of
    8·1 answer
  • Suppose that an individual has a body fat percentage of 15.6% and weighs 156 pounds. How many pounds of his weight is
    11·1 answer
  • What is (a+x)-8?<br> Please help me with this I need this done in 24 hurs
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!