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

    <info>
        <link type="guide" xref="index#equation"/>
    <credit type="translator copyright"><name>Gil Forcada</name><email>gilforcada@guifi.net</email><years>2012</years></credit><credit type="translator copyright"><name>Joan Duran</name><email>jodufi@gmail.com</email><years>2008, 2009</years></credit><credit type="translator copyright"><name>Pere O.</name><email>gotrunks@gmail.com</email><years>2018</years></credit><credit type="translator copyright"><name>Robert Antoni Buj Gelonch</name><email>rbuj@fedoraproject.org</email><years>2018, 2019</years></credit><credit type="translator copyright"><name>Sergi Morraja</name><email>sergi256@gmail.com</email><years>2011, 2012</years></credit></info>

	<title>Funcions</title>
    
    <p>
    Functions can be used by inserting the name of the function followed by the function argument.
    If the argument is not a number or <link xref="variable">variable</link> then use parenthesis around the argument.
    </p>
    <example>
    <p>sin 30</p>
    <p>abs (5−9)</p>
    </example>
    <p>
    The following functions are defined.
    </p>
    <table>
    <tr>
    <td><p>abs</p></td>
    <td><p><link xref="absolute">Valor absolut</link></p></td>
    </tr>
    <tr>
    <td><p>cos</p></td>
    <td><p><link xref="trigonometry">Cosinus</link></p></td>
    </tr>
    <tr>
    <td><p>cosh</p></td>
    <td><p><link xref="trigonometry">Hyperbolic Cosine</link></p></td>
    </tr>
    <tr>
    <td><p>erf</p></td>
    <td><p>Gauss Error function</p></td>
    </tr>
    <tr>
    <td><p>frac</p></td>
    <td><p>Part fraccionària</p></td>
    </tr>
    <tr>
    <td><p>int</p></td>
    <td><p>Part entera</p></td>
    </tr>
    <tr>
    <td><p>ln</p></td>
    <td><p><link xref="logarithm">Natural Logarithm</link></p></td>
    </tr>
    <tr>
    <td><p>log</p></td>
    <td><p><link xref="logarithm">Logaritme</link></p></td>
    </tr>
    <tr>
    <td><p>not</p></td>
    <td><p><link xref="boolean">Boolean NOT</link></p></td>
    </tr>
    <tr>
    <td><p>ones</p></td>
    <td><p>Ones complement</p></td>
    </tr>
    <tr>
    <td><p>sin</p></td>
    <td><p><link xref="trigonometry">Sinus</link></p></td>
    </tr>
    <tr>
    <td><p>sinh</p></td>
    <td><p><link xref="trigonometry">Hyperbolic Sine</link></p></td>
    </tr>
    <tr>
    <td><p>arrel</p></td>
    <td><p><link xref="power">Arrel quadrada</link></p></td>
    </tr>
    <tr>
    <td><p>tg</p></td>
    <td><p><link xref="trigonometry">Tangent</link></p></td>
    </tr>
    <tr>
    <td><p>tanh</p></td>
    <td><p><link xref="trigonometry">Hyperbolic Tangent</link></p></td>
    </tr>
    <tr>
    <td><p>twos</p></td>
    <td><p>Twos complement</p></td>
    </tr>
    <tr>
    <td><p>zeta</p></td>
    <td><p>Riemann zeta function</p></td>
    </tr>
    </table>
    <p>
    <app>MATE Calculator</app> does not support user-defined functions.
    </p>
</page>
