# Algorithm Math problem help (logarithm ) [closed]

Can you guys show me how you would solve this:

logn n^3 =

log2 4 =

-

## closed as too localized by Dan Brumleve, Michael Greinecker♦, William, Matt N., Ｊ. Ｍ.Sep 3 '12 at 23:46

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Two basic facts about logarithms are: $\log_n(n) = 1$ and $\log(a^b) = b\log(a)$. So $\log_n(n^a) = a$. –  Eelvex Mar 31 '11 at 3:51
Why would you call this an algorithm? –  picakhu Mar 31 '11 at 13:33

Well, what does logarithm mean? $\log_n a$ means the number $x$ such that $n^x = a$.
In your first case $\log_n n^3$ is the number $x$ such that $n^x = n^3$. What is $x$? In your second case, $\log_2 4$ is the number $y$ such that $2^y = 4$, which I think you can find quickly.