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
Natasha_Volkova [10]
4 years ago
13

Suppose you with had two algorithms, A and B, with growth functions fa(n)=200n2 and fb(n)=2n4. If you were to do an exact analys

is on these growth functions, i.e., not simplify them with Big-Oh or tilde approximation, what algorithm would you recommend for which values of n? (Hint: you should be partitioning the domain of n > 0). Explain how you arrived at your answer and why it is correct.
Computers and Technology
1 answer:
anyanavicka [17]4 years ago
7 0

Answer:

For values when n<32 use fb(n) else use fa(n).

See explaination for details

Explanation:

Earlier when n=1 fa(n)=2000 while fb(n)=2. for n=2 fa(n)=2000*22 =2000*4=8000 while fb(n)=2*24=2*16=32. It is observed that fa(n) requires more time than fb(n) for small values.

Now, we will see when fb(n) crosses fa(n). This can happen only when fb(n) values equals or greater than fa(n)

therefore,

2000n2<=2n4

Solving equation we get n2>=1000 which can happen when n>=32.

So for values when n<32 use fb(n) else use fa(n)

You might be interested in
Explain the complement of a number along with the complements of the binary and decimal number systems.why is the complement met
umka2103 [35]

olha so olha la que bacana bonito

3 0
3 years ago
Design an Application called Student Course Management create interface called Student Course add an abstract method called ad C
sdas [7]

Answer:

Im pretty sure this has to do with coding, and running an application, so, you should probably run something like MSWord

Explanation:

6 0
3 years ago
Discuss how printing, publishing, and e-learning industries have transformed on evolved due to developments and advances the fie
victus00 [196]

So your parent hasn't joined you on the Brainly express to Achievement-ville. We'll get them on board. Parents are busy people, but you can be the boss and remind them. Remind them how Brainly boosts you with expert knowledge. Remind them that tons of students already get grade upgrades with Brainly Plus. Remind your parent of the power they have to raise you to your full potential. We think they would agree. You deserve every education advantage.

4 0
3 years ago
Why does a crane need to rotate/swivel​
Alinara [238K]

Answer:

(hope this helps can I pls have brainlist (crown) ☺️)

Explanation:

Swivel hooks are rigging devices used by overhead crane firms to place loads and allow them to swivel on their x-axis. The issue of cables twisting together when bringing up a load is effectively eliminated. This is especially useful in windy outdoor settings.

Swivel hooks are essential components that overhead crane manufacturers use in a variety of sectors. However, they are only helpful if they are in good working order. Swivel hooks must be inspected regularly and taken out of service if specific load-bearing components. Missing identifying markings, heat damage, or bent, twisted, or otherwise deformed load-bearing components are examples.

4 0
3 years ago
A hotspot is a location where
Andrej [43]
D is the answer you’re looking for
6 0
3 years ago
Read 2 more answers
Other questions:
  • Which of the following phrases describes top-down processing
    8·1 answer
  • Write a program that reads three numbers and print the largest one step by step answer
    9·1 answer
  • The mouse pointer becomes different shapes depending on the pointer s location and locations you click on the screen. true false
    6·1 answer
  • For a new version of processor, suppose the capacitive load remains, how much more energy will the processor consume if we incre
    12·1 answer
  • Write a recursive function to determine if a number is prime.
    8·1 answer
  • Which of the following is a reason to use storyboarding? (Select all that apply)
    8·1 answer
  • How do i make a comment on brainly?
    15·1 answer
  • A ……………………………is used to verify the identity of a website and is issued to the owner of the website by an independent and recogni
    7·2 answers
  • 236. A system such as a printer, smart TV, or HVAC controller, typically uses an operating system on what is called a:
    13·2 answers
  • Identify the true statements about the approach to privacy around the world. a. Uncertainty concerning the nature, extent, and v
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!