ProtoFlux:Log 10

From Resonite Wiki
Revision as of 01:38, 22 May 2024 by AmasterAmaster (talk | contribs) (Created a page for the Log10 node.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Log₁₀
N
*
Math

The Log 10 node takes in a number we are trying to get to and already provides us the base of 10, which is exactly the same as using the Log N node with the base of 10 in the input. This is called the common logarithm, and returns the result of how many times of base 10 to get that number that was provided.

This common logarithm asks a question: What power must 10 be raised to, in order to get x?.
Don't get confused when first using this node, as in Resonite currently the visual for this node is incorrect as it shows Logₑ₁₀ when it should show Log₁₀ instead. Please remove this warning after the visual is fixed within Resonite.

Inputs

N (float)

The number we are searching for using the base 10.

Outputs

* (float)

Returns the exponent result.

Examples

Example: log⁡₁₀(1000)

   Start with the equation:
   log⁡₁₀(1000) = ?
   Understand the question:
   We're asking: "What power must 10 be raised to, in order to get 1000?"
   Calculate the power:
   Since 10 × 10 × 10 = 1000 (which is 10³):
   log⁡₁₀(1000) = 3

Example: log⁡₁₀(50)

   Start with the equation:
   log⁡₁₀(50) = ?
   Use the definition:
   We need to find the power to which 10 must be raised to get 50.
   Using a calculator:
   When you calculate log⁡₁₀(50), you get approximately:
   log⁡₁₀(50) ≈ 1.69897
   This means:
   10¹.⁶⁹⁸⁹⁷ ≈ 50

Notes

This may be confusing at first, seeing that log⁡₁₀(10) = 1 and log⁡₁₀(100) = 2, but not log⁡₁₀(50) = 1.5 and showing log⁡₁₀(50) ≈ 1.69897 instead. This is called Logarithmic Scale, and is nonlinear.

Flux Examples