Updated Logarithm.md (markdown)
commited
commit
519d5b4c57951a5ca7b38b6f94dbca899105da54
... | ... | @@ -2,13 +2,17 @@ Outputs the logarithm of a number by a given base. |
2 | 2 | |
3 | 3 | [[/uploads/Logarithm1.png|width=336px,alt=Logarithm]] |
4 | 4 | |
5 | Inputs |
|
5 |
## Inputs |
|
6 | 6 | - Number: The target number |
7 | 7 | - Base: The base to raise (defaults to [*e*](https://en.wikipedia.org/wiki/E_(mathematical_constant)) if unwired) |
8 | 8 | |
9 | Outputs |
|
9 |
## Outputs |
|
10 | 10 | - Logarithm: The Exponent in the (Base ^ Exponent = Number) |
11 | 11 | |
12 | [[/uploads/log-wiki.jpg]] |
|
13 | Which can be written as: |
|
14 | [[/uploads/latex_inverted-log-wiki.png]] |
|
15 | ||
12 | 16 | ## Notes |
13 | 17 | Logarithm is used as an inverse function for the function [[Power]]. This function is most commonly used for board game AIs. If you manage to learn how to make an AI, this function will be surely handy for you! |
14 | 18 |