Question

**please show all work and explain** An algorithm takes 0.5 seconds to run on an input...

**please show all work and explain**

An algorithm takes 0.5 seconds to run on an input of size 100. How long will it take to run on an input of size 1000 if the algorithm has a running time that is linear? quadratic? log-linear? cubic?

Homework Answers

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
An exponential algorithm requires 4^n (four to the power n) steps to solve a problem with...
An exponential algorithm requires 4^n (four to the power n) steps to solve a problem with an input of size n. Suppose it has been found that using today's computer, a direct implementation of that algorithm would be able to handle an input size of 30 in 10 years. If the computer is speeded up by a factor of 100 (with no other changes), what input size can be processed in the same time? Explain your answer. (Hint: speeding up...
1. Simple Cubic: (Let r = 1.00 A) Show all work. Can you please explain this...
1. Simple Cubic: (Let r = 1.00 A) Show all work. Can you please explain this in detail on how to do this? a) calculation of the length of a face diagonal (F): b) Calculation of the % void space:
discrete structures problems 1. A program P takes time proportional to logn where n is the...
discrete structures problems 1. A program P takes time proportional to logn where n is the input size. If the program takes 1 minute to process input of size 1,000,000, how many seconds does it take to process input of size 100? 2. When the best possible algorithm to solve a problem is exponential-time, or in general in nonpolynomial (not in O(np) for any p) we call such a problem ___________________. 3. f(x) is O(x 2) and g(x) is O(x...
Please show all work step by step The growth of a bacterial colony is modeled by...
Please show all work step by step The growth of a bacterial colony is modeled by the function P(t) = 2750e^.005t where P(t) is the population size, t days after the initial measurement. (a) Find the population size 32 days after the initial measurement. (b) How long will it take for the population to reach 7100.
*please show all work, thank you* Adam and Bobby run a website that produces local news...
*please show all work, thank you* Adam and Bobby run a website that produces local news stories and videos. In one week, Adam can produce 5 stories or 10 videos or any linear combination of the two, while person Bobby can produce 7 stories or 8 videos or any linear combination of the two. a) Who has the absolute advantage in producing each of the two goods? Explain how you know, and what that means. b) Who has the comparative...
A bag of microwave popcorn contains 100 kernels and typically takes between 90 and 150 seconds...
A bag of microwave popcorn contains 100 kernels and typically takes between 90 and 150 seconds to pop. Assume normality and that popping the entire bag is not an option. How many kernels that would be needed in a test to estimate the true mean time to pop a microwave bag of popcorn to within +/- 3 seconds with 98% confidence? Show your work please.
PLEASE SHOW ALL WORK AND EXPLAIN Four runners were randomly sampled and it was found they...
PLEASE SHOW ALL WORK AND EXPLAIN Four runners were randomly sampled and it was found they ran 11, 15, 11, 11 miles per week. Assuming the population is normally distributed, if we wish to test the claim that the mean running distance is more than 10 miles per week, what conclusion would you reach at the 5% level of significance? Show all the steps of hypothesis testing. You must state your conclusion in terms of the mean running distance of...
Instructions: Please answer each of the following questions. You must show all work using correct formulas...
Instructions: Please answer each of the following questions. You must show all work using correct formulas and units. Please show supporting work and verbal explanation. 3. During takeoff, an airplane goes from 0 m/s to 50 m/s in 8 s.   a) What is its acceleration? b) How fast is it going after 5 s? 4. An object has an initial velocity of 15 m/s and a constant acceleration of 4 m/s2. How long will it take before its final velocity...
Please show all work. Cost Minimization: a) If input prices are w = 4, and r...
Please show all work. Cost Minimization: a) If input prices are w = 4, and r = 1, and q = 4K0.5L0.5, what is the least-cost input combination (L*, K*) required to produce 40 units of output? b) What is the total cost (C) associated with 40 units? c) Suppose instead that capital was fixed at 16 units. What would be the implications for labor usage (L*) and total cost (C)?
Please show all calcualtions if applicable. Please explain concepts in detail. If using excel, please show...
Please show all calcualtions if applicable. Please explain concepts in detail. If using excel, please show data. Practice #13 The GBPUSD exchange rate was $1.3300 per pound on December 1, 2019. The GBPUSD exchange rate today is $1.2500 per pound. In the past 6 months, has the value of the British pound (relative to the U.S. dollar) increased in value, decreased in value, or remained the same? Practice #14 It is well-documented that the United States consistently runs sizable current...