Fixed grammer. |
Technically "Pseudo-generic". |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
|Inputs= | |Inputs= | ||
[ | [ | ||
{"Name":"N", "Type":" | {"Name":"N", "Type":"Dummy"}, | ||
{"Name":"Base", "Type":" | {"Name":"Base", "Type":"Dummy"} | ||
] | ] | ||
|Outputs= | |Outputs= | ||
[ | [ | ||
{"Name":"*", "Type":" | {"Name":"*", "Type":"Dummy"} | ||
] | ] | ||
|}} | |}} | ||
Line 15: | Line 15: | ||
The <code>Log N</code> node takes in the number we want to get to (labeled <code>N</code>) and the base number (The number you're multiplying). | The <code>Log N</code> node takes in the number we want to get to (labeled <code>N</code>) and the base number (The number you're multiplying). | ||
== Inputs == | |||
=== N (Pseudo-generic) === | |||
The number we are searching for using the base. | |||
=== Base (Pseudo-generic) === | |||
The number being chain multiplied. | |||
== Outputs == | |||
== | === * (Pseudo-generic) === | ||
Returns the exponent result. | |||
== Examples == | |||
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. | |||
{{Note|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?|information}} | |||
= | 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. | |||
== | == Example Flux == | ||
<gallery widths=480px heights=480px>File:LogN Example 01.png|LogN Example</gallery> | <gallery widths=480px heights=480px>File:LogN Example 01.png|LogN Example</gallery> | ||
[[Category:ProtoFlux:Math]] | [[Category:ProtoFlux:Math]] |
Latest revision as of 10:07, 22 May 2024
Logₙ
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).
Inputs
N (Pseudo-generic)
The number we are searching for using the base.
Base (Pseudo-generic)
The number being chain multiplied.
Outputs
* (Pseudo-generic)
Returns the exponent result.
Examples
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.
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.
Example Flux
-
LogN Example