Hi,
i finally understood. the rule that i was looking for is
loga(Xy) = y.loga(X)
therefore,
2106 =10y
y = 106 . log10(2)
However, i got another Q. if the Q was asked to use log2, must we give the final ans in log10??
sorry but I am actually still confuse.. i don't really understand when char.limit said i can isolate x by taking log_10 of x and i get 106 . log_10 (2).
i change x->y to avoid confusion. since the rule says:
y = log_10 x, then x=10y
if we continue from
2106 =10y
then
y =...
Hi,
I'm doing this algorithm questions and i need to find the largest size n of a problem that can be solved in time t, assuming that the algorithm to solve the problem takes f(n) microseconds.
For example:
f(n) = log n
t = 1 seconds
how do i get the largest size of n in t time...