Finding the power

jedidia

shoemaker without legs
Addon Developer
Joined
Mar 19, 2008
Messages
10,862
Reaction score
2,126
Points
203
Location
between the planets
This is probably a dumb question, but I can't find the answer by googling.

If a^x = b, and I have a and b, what's the operation to find x? (I assume there is one?)
 

jedidia

shoemaker without legs
Addon Developer
Joined
Mar 19, 2008
Messages
10,862
Reaction score
2,126
Points
203
Location
between the planets
Indeed. If only I could keep in my head what that thing does, it's like I'm discovering it anew every time I need it.
so x = b log(a). If that's even the way it's written.
 

GLS

Well-known member
Orbiter Contributor
Addon Developer
Joined
Mar 22, 2008
Messages
5,914
Reaction score
2,908
Points
188
Website
github.com
Indeed. If only I could keep in my head what that thing does, it's like I'm deiscovering it anew every time I need it.
so x = b log(a). If that's even the way it's written.
"a^x = b" equals "loga (b) = x", but because calculators (or papel tables) don't have logarithm of base "a" you can't calculate it directly. But, you can do the ratio of 2 know logarithms of any base, which will give what you want: you can use base 10 (usually labeled log10) or the natural logarithm of base "e" (labeled ln)
log10 (b) / log10 (a) = ln (b) / ln (a) = x
 
Top