ProtoFlux:Log N

From Resonite Wiki
Revision as of 11:06, 21 May 2024 by AmasterAmaster (talk | contribs) (Fixed grammer.)
Logₙ
N
*
Base
Math

The Log N node takes in the number we want to get to (labeled N) and the base number (The number you're multiplying).

For example, if you take the base 2 and multiply it three times, you get: 2 × 2 × 2 = 8

In this case, 2 is the base, 3 is the exponent, and 8 is the result.

A logarithm essentially asks: "How many times do I need to multiply the base to get the result?" For the example above, if we want to find the logarithm of 8 with base 2, we ask:

What power do we need to raise 2 to in order to get 8?

The answer is 3, because: 2³ = 8

We write this as: log⁡₂(8) = 3

So, the logarithm (log) of 8 with base 2 is 3.

Inputs

N (float)

The number we are searching for using the base.

Base (float)

The number being chain multiplied.

Outputs

* (float)

Returns the exponent result.

Examples