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
Someone pls help me I will make you Brainly
emmasim [6.3K]

Answer:

C) f(x)=2(25)x

For question 4: f(x)=4()^x

Step-by-step explanation:  The correct answer from the choices listed above is option C. IT would be f(x) = 2(25)x that is an equivalent function to f(x) = 2(5)^2x. You can square directly 5 since it will still follow the rules for exponents.

6 0
3 years ago
Lorenzo has a package that weighs 2 pounds. He wants to check The weight of the package on a scale, but he only has weights that
OverLord2011 [107]

Answer:

32 ounces

Step-by-step explanation:

1 pound = 16 ounces

2 pounds = 16 x 2 = 32 ounces

3 0
3 years ago
Jane run 7 miles in 60 minutes. At the same rate, how many miles will she run in 24 minutes
statuscvo [17]

Answer:

Denote the amount of miles she will run in 24 minutes: x

=> x/24 = 7/60 (same rate)

=> x = 7x24/60 = 2.8 (miles)

5 0
3 years ago
In aremethic, variables look like
Digiron [165]

Answer:

variables look like letters of the alphabet.

I hope this helps

5 0
3 years ago
Read 2 more answers
Sandy is helping her uncle at this coffee shop. She observes that, when ordering coffee, 13 of customers select chocolate flavor
valkas [14]
The answer is 2/5 :)

Have A Good Day
 
Please stay in school

Dont do drugs... Heroin is bad for your body

Love you dudes <3
6 0
4 years ago
Read 2 more answers
Other questions:
  • . . . . . . . . . . . . . . . . . help✌​
    11·1 answer
  • Plz help me I need to turn it in on Monday
    13·1 answer
  • A band will sell CDs of their music at their concert for $5.00 each. The band ordered 300 CDs at a cost of $1.25 each. Which ine
    7·1 answer
  • The diameter of a circle is 15 m. Find the circumference \textit{to the nearest tenth}to the nearest tenth.
    11·1 answer
  • What is the circumference of a circle with a diameter of 8 feet? Use 3.14 for
    15·1 answer
  • The Thomas' backyard pool is
    7·1 answer
  • Find the product of the integers:<br><br> 2(–4) =
    14·2 answers
  • N(p)=4 means that there a four elements in a set P. Given:
    12·1 answer
  • Find the missing side for each triangle below
    15·1 answer
  • Jane eats 2/3 of a cup of cereal for breakfast every day. If the box contains a total of 24 cups, how many days will i take to f
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!