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
Vika [28.1K]
2 years ago
5

What is the effect in the time required to solve a prob- lem when you double the size of the input from n to 2n, assuming that t

he number of milliseconds the algorithm uses to solve the problem with input size n is each of these function? [Express your answer in the simplest form pos- sible, either as a ratio or a difference. Your answer may be a function of n or a constant.]
A. log n
B. log log n
C. 100 n
D. n log n
E. n2
F. n3
G. 2n
Mathematics
1 answer:
Inga [223]2 years ago
5 0

Answer:

f(2n)-f(n)=log2

b.lg(lg2+lgn)-lglgn

c. f(2n)/f(n)=2

d.2nlg2+nlgn

e.f(2n)/(n)=4

f.f(2n)/f(n)=8

g. f(2n)/f(n)=2

Step-by-step explanation:

What is the effect in the time required to solve a prob- lem when you double the size of the input from n to 2n, assuming that the number of milliseconds the algorithm uses to solve the problem with input size n is each of these function? [Express your answer in the simplest form pos- sible, either as a ratio or a difference. Your answer may be a function of n or a constant.]

from a

f(n)=logn

f(2n)=lg(2n)

f(2n)-f(n)=log2n-logn

lo(2*n)=lg2+lgn-lgn

f(2n)-f(n)=lg2+lgn-lgn

f(2n)-f(n)=log2

2.f(n)=lglgn

F(2n)=lglg2n

f(2n)-f(n)=lglg2n-lglgn

lg2n=lg2+lgn

lg(lg2+lgn)-lglgn

3.f(n)=100n

f(2n)=100(2n)

f(2n)/f(n)=200n/100n

f(2n)/f(n)=2

the time will double

4.f(n)=nlgn

f(2n)=2nlg2n

f(2n)-f(n)=2nlg2n-nlgn

f(2n)-f(n)=2n(lg2+lgn)-nlgn

2nLg2+2nlgn-nlgn

2nlg2+nlgn

5.we shall look for the ratio

f(n)=n^2

f(2n)=2n^2

f(2n)/(n)=2n^2/n^2

f(2n)/(n)=4n^2/n^2

f(2n)/(n)=4

the time will be times 4 the initial tiote tat ratio are used because it will be easier to calculate and compare

6.n^3

f(n)=n^3

f(2n)=(2n)^3

f(2n)/f(n)=(2n)^3/n^3

f(2n)/f(n)=8

the ratio will be times 8 the initial

7.2n

f(n)=2n

f(2n)=2(2n)

f(2n)/f(n)=2(2n)/2n

f(2n)/f(n)=2

You might be interested in
Convert:<br> 38 inches = feet and inches all together
kirza4 [7]

Answer: 3 ft. and 2 inches

38÷12=3.2

12×3=36

38-36

8 0
3 years ago
Read 2 more answers
If the diameter of Nicole's bike wheel is 90cm, what is the approximate distance the wheel travels in one revolution?
sineoko [7]

Answer:

282.7 cm

Step-by-step explanation: One spin is one circumference. That's  π(diameter)= 282.7

4 0
2 years ago
Please help due tonight!!
Darya [45]
PLEASE STOP GIVING OUT LINKKKSSSS!!!
4 0
3 years ago
What x 3 = 120.<br><br> 2x what = 120
VLD [36.1K]

Answer:

40×3 =120

2×60=120

Step-by-step explanation: have a good day

7 0
2 years ago
Which of the following would be an appropriate alternative hypothesis?
Dennis_Churaev [7]

Answer:

a. The population proportion is less than 0.65

True, we ar interested in see if the population proportion is (less, higher, not equal) to a specified value.

Step-by-step explanation:

1) Previous concepts

A hypothesis is defined as "a speculation or theory based on insufficient evidence that lends itself to further testing and experimentation. With further testing, a hypothesis can usually be proven true or false".  

The null hypothesis is defined as "a hypothesis that says there is no statistical significance between the two variables in the hypothesis. It is the hypothesis that the researcher is trying to disprove".

The alternative hypothesis is "just the inverse, or opposite, of the null hypothesis. It is the hypothesis that researcher is trying to prove".

2) Solution to the problem

a. The population proportion is less than 0.65

True, we ar interested in see if the population proportion is (less, higher, not equal) to a specified value.

b. The sample proportion is less than 0.65

FALSE, we are interesed on parameters, not in statistics like the sample proportion when we conduct a hypothesis test.

c. The population proportion is equal to 0.65

FALSE, the alternative hypothesis can never have an equal sign.

d. The sample proportion is equal to 0.65

FALSE, the alternative hypothesis can never have an equal sign. And we are interesed on parameters, not in statistics like the sample proportion when we conduct a hypothesis test.

e. both (a) and (d)

FALSE, a its correct but option d no.

5 0
2 years ago
Other questions:
  • Simplify these problems to help me understand on how to do the problems
    13·1 answer
  • What is the area of this rectangle?
    15·1 answer
  • Which scenario best matches the inequality x &gt; 3? A. Joanna needs to be in bed by 10 p.M. It's now just past 7 p.M. How many
    6·1 answer
  • All 5 students in Mrs. Awful's class got a 50 on the test. What’s the average grade in this class?
    9·1 answer
  • Please help ASAP!!! At a dinner party, two desserts are being served. Six of the guests choose cheesecake, and eight of the gues
    7·1 answer
  • Assignment
    11·1 answer
  • Running out of time! Please help and show work! Thank you! Will mark brainliest!
    5·1 answer
  • Obed's bike is twice as heavy as Elsa bike but only 3 pounds heavier than George bike if George bike weighs 15 pounds how much d
    12·2 answers
  • The question is a image pls answer this​
    6·1 answer
  • What is the solution for tgx &gt;=0?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!