What is the value of $k$ if I have the following equation: $2^{-k} = \frac1n$?
$$2^{-k} = \frac 1 n \implies n = 2^k \implies \log_{2} n = k$$
Is my solution correct?
What is the value of $k$ if I have the following equation: $2^{-k} = \frac1n$?
$$2^{-k} = \frac 1 n \implies n = 2^k \implies \log_{2} n = k$$
Is my solution correct?
Yes your solution is correct