summaryrefslogtreecommitdiff
path: root/help/C/logarithm.page
diff options
context:
space:
mode:
Diffstat (limited to 'help/C/logarithm.page')
-rw-r--r--help/C/logarithm.page43
1 files changed, 43 insertions, 0 deletions
diff --git a/help/C/logarithm.page b/help/C/logarithm.page
new file mode 100644
index 0000000..640065d
--- /dev/null
+++ b/help/C/logarithm.page
@@ -0,0 +1,43 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="guide"
+ id="logarithm">
+
+ <info>
+ <link type="guide" xref="index#equation"/>
+ </info>
+
+ <title>Logarithms</title>
+
+ <p>
+ Logarithms can be calculated using the log <link xref="function">function</link>.
+ </p>
+ <example>
+ <p>
+ log 100
+ </p>
+ </example>
+ <p>
+ To calculate a logarithm in a different base use a <link xref="superscript">subscript number</link> after the function.
+ </p>
+ <example>
+ <p>
+ logâ‚‚ 32
+ </p>
+ </example>
+ <p>
+ To calculate a natural logarithm use the ln function.
+ </p>
+ <example>
+ <p>
+ ln 1.32
+ </p>
+ </example>
+ <p>
+ Euler's number can be entered by using the <link xref="variable">variable</link> e.
+ </p>
+ <example>
+ <p>
+ e^1.32
+ </p>
+ </example>
+</page>