This is the same as asking 'for what value of x is = 27?'
<<<<
Answer by Alan3354(69443) (Show Source): You can put this solution on YOUR website! log(3)27=x
==============
The "hard way:"
x = log(27)/log(3)
x = 3
==================
Works for all cases, not necessary for integers.
eg,
log(3)32.5 = x
x = log(32.5)/log(3) = ~ 3.16876