<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="guide" id="logarithm" xml:lang="oc">

    <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> or normal number after the function.
    </p>
    <example>
    <p>
    log₂ 32
    </p>
    <p>
    log2 (32)
    </p>
    <p>
    log (32;2)
    </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">constant</link> e.
    </p>
    <example>
    <p>
    e^1.32
    </p>
    </example>
</page>
