Search code examples
mathbinaryexponentexponential

How to determine 2^x = 64


I know the answer to this question is 6... but I am wondering what the formula is to figure this out.

I will always need to solve for x in this scenario.

TIA


Solution

  • log(64) / log(2) = x. Or in more general terms, if y^x = z, then x = log(z) / log(y)