summaryrefslogtreecommitdiff
path: root/help/C/logarithm.page
blob: 640065d3ec6d29fc324717f74d414867d5fac0e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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>