-1

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

Crobzilla
  • 4,891
  • 4
  • 17
  • 11

5 Answers5

3

Simply what you have to do is take the logarithm (base 2) of the right hand side. Like

log2(64) = 6

I think you should read a mathematics book which has topics related to logarithms.

xeon111
  • 1,025
  • 9
  • 20
2

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

nithins
  • 3,172
  • 19
  • 21
1

Divide 64 by 2 continuously till you get 1 as result. The number of times you can divide is the answer.

ie

64/2 = 32  --- 1
32/2 = 16  --- 2
16/2 = 8   --- 3
8/2  = 4   --- 4
4/2  = 2   --- 5
2/2  = 1   --- 6

It stops here since you got answer 1. Now you have done it 6 times, hence 6 is the answer

Sree
  • 635
  • 4
  • 10
1
a^b=y
=> ln(a)*b=ln(y)
=> b=ln(y)/ln(a)
Adriaan Stander
  • 162,879
  • 31
  • 289
  • 284
0

Here it is step by step, although some steps may seem not obvious if you don't understand logarithms.

2 ^ x = 64

log (2 ^ x) = log 64

x log 2 = log 64

x = log 64 / log 2

x = 6
Trott
  • 66,479
  • 23
  • 173
  • 212