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
earnstyle [38]
4 years ago
15

What is the smallest value of n such that an algorithm whose running time is 100n 2 runs faster than an algorithm whose running

time is 2n on the same time.
Mathematics
1 answer:
Semmy [17]4 years ago
8 0

Answer:

n = 15

Step-by-step explanation:

For inputs of the value of n, the running time for the algorithm A is 100n^2 and that of B is 2^n.

If A is to run faster than B, 100n^2 must be smaller than 2^n.

Let's check from n = 1 to know the value of n that fits

n = 1

100(1)^2 > 2^1

100 > 2

n = 2

100(2)^2 > 2^2

400 > 4

n = 4

100(4)^2 > 2^4

1600 > 16

n = 8

100(8)^2 > 2^8

6400 > 2^8

n = 16

100(16)^2 < 2^16

25600 < 2^16

This implies that between n = 8 and 16, A starts to run faster than B

n = (8+16)/2 = 12

100(12)^2 > 2^12

14400 > 2^12

n = (12+16)/2 = 14

100(14)^2 > 2^14

19600 > 2^14

n = (14+16)/2

n = 15

100(15)^2 < 2^15

22500 < 2^15

At n= 15, A starts running faster than B

You might be interested in
Work out the difference in value between 1/4 and 30%.
hammer [34]
1/4 is 25% and the other one is 30% so if ur has to be difference in percentage it would be 5%
5 0
3 years ago
The line plot shows the number of books read by 15 students over the summer. How many students read 3 or fewer books? A. 5 , B.
fgiga [73]
There is only one, and The answer is d
8 0
3 years ago
Write an<br> algebraic expression fh each verbal expression.
PtichkaEL [24]

Answer:

2×y^2

Step-by-step explanation:

i hope it helped you a lot. thankyou

4 0
4 years ago
Determine the measure of CD from the diagram below.
kondor19780726 [428]

Answer:

100 degrees

Step-by-step explanation:

This is because AED And CED ARE supplimetary.

80+<CED=180

-80           -80

<Ced=100

3 0
3 years ago
A circular fish pond that you are designing for your local park has an area
notsponge [240]

Answer:

Step-by-step explanation:

d≈12ft

A Area  

113.04

ft²

d

r

r

r

d

d

C

A

Using the formulas

A=πr2

d=2r

Solving ford

d=2A

π=2·113.04

π≈11.99696ft

8 0
3 years ago
Other questions:
  • Please show answer on graph.
    7·1 answer
  • 45 hours = 0.75 minutes
    9·2 answers
  • What is 53 days in weeks
    8·2 answers
  • I need help please.<br> Given the function h(t)=2t*+9,evaluate h(5)
    7·1 answer
  • What is the Hinge Theorem used to show? A. that two triangles are similar B. the relative lengths of the corresponding sides in
    7·1 answer
  • Round your answer to three decimal places. A car is traveling at 79 km/h due south at a point 4 5 kilometer north of an intersec
    13·1 answer
  • The manager of a store marks up all
    11·1 answer
  • At Friday's football game, 1,294 tickets were sold for a total amount of $8,816.00. If each student ticket costs $5.00, and each
    5·1 answer
  • I need help with it​
    8·1 answer
  • Find the measure of each interior angle of the regular polygon.
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!