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 algo
rithm has a running time that is linear? quadratic? log-linear? cubic?
1 answer:
Answer:
linear: 5s
quadratic: 50s
log-linear: 0.75 s
cubic: 500s
Step-by-step explanation:
Let
be the running time associated with the input of sizes 
If the running time is linear

If the running time is quadratic

If the running time is log-linear

If the running time is cubic:

You might be interested in
Answer: 2, 3, 5
Step-by-step explanation: 6*6 is 6^2 and 6*6*6 is 6^3 and you can add the exponents, so the last one is 6^5.
i think its 3√3 because that seems like the logical answer to me.
Answer:
7/17
Step-by-step explanation:
7+4+6=17
7/17
Hope this is useful :)
Answer:
B10
Step-by-step explanation:
Answer:
70+3.5v = 105
v = 10
Step-by-step explanation:
70+3.5v = 105
3.5v = 35
v = 10