Hey, how do I find the power of something?

I have a base number, let's say it's 10 and 10 to the power of 2 is 100.

How could I have the sum (100) and the base (10) and get 2?

or 4 to the power of 3 = 64

So I'd have 4 and 64 and get 3?

10 posts
• Page **1** of **1**

Hey, how do I find the power of something?

I have a base number, let's say it's 10 and 10 to the power of 2 is 100.

How could I have the sum (100) and the base (10) and get 2?

or 4 to the power of 3 = 64

So I'd have 4 and 64 and get 3?

I have a base number, let's say it's 10 and 10 to the power of 2 is 100.

How could I have the sum (100) and the base (10) and get 2?

or 4 to the power of 3 = 64

So I'd have 4 and 64 and get 3?

Follow me on Twitter @evgLabs

**Posts:**251**Reputation:**4,049

B

33
S

14
G

4
Clever way to get your math homework done, isn't it.

Check out my VGM on my soundcloud page!

Video-Game Music: E.C.2151

Video-Game Music: E.C.2151

**Posts:**193**Reputation:**1,561

B

7
S

2
G

2
What you're trying to find is the logarithm, not the power.

For 8^2 = 64, 8 is the base, 64 is the power and 2 is the exponent. The exponent equals the logarithm of the power as long as you don't change the base.

http://sourceforge.net/apps/mediawiki/c ... xpressions <-- Look under "Math".

Use**ln** for base *e* (Euler's number, approx. 2.718) or **log** for base 10.

For example: 10^x = 1000. To find x, just do: [code:3jalj99k]log(1000)[/code:3jalj99k]

...which gives you 3.

If the base isn't 10 or*e*, use this instead: [code:3jalj99k]log(power) / log(base)[/code:3jalj99k]

(You can use**ln** instead of **log**, the result should be the same.)

Using the example above, 8^2 = 64, you get [code:3jalj99k]log(64) / log(8)[/code:3jalj99k]

...and that should give you 2.

For 8^2 = 64, 8 is the base, 64 is the power and 2 is the exponent. The exponent equals the logarithm of the power as long as you don't change the base.

http://sourceforge.net/apps/mediawiki/c ... xpressions <-- Look under "Math".

Use

For example: 10^x = 1000. To find x, just do: [code:3jalj99k]log(1000)[/code:3jalj99k]

...which gives you 3.

If the base isn't 10 or

(You can use

Using the example above, 8^2 = 64, you get [code:3jalj99k]log(64) / log(8)[/code:3jalj99k]

...and that should give you 2.

**Posts:**2**Reputation:**629

B

1
G

2
10 posts
• Page **1** of **1**

Return to Help & Support using Construct Classic

## Who is online |

Users browsing this forum: No registered users and 3 guests |