<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="guide" id="function" xml:lang="gl">

    <info>
        <link type="guide" xref="index#equation"/>
    
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Fran Dieguez</mal:name>
      <mal:email>frandieguez@gnome.org</mal:email>
      <mal:years>2011-2013.</mal:years>
    </mal:credit>
  </info>

	<title>Funcións</title>
    
    <p>As fraccións pódense usar inserindo o nome da función seguido do argumento da función. Se o argumento non é un número ou unha <link xref="variable">variábel</link> entón use os parénteses para o argumento.</p>
    <example>
    <p its:locNote="Translators: Do not translate the word 'sin'!">sin 30</p>
    <p its:locNote="Translators: Do not translate the word 'abs'!">abs (5−9)</p>
    <p its:locNote="Translators: Do not translate the word 'fun'!">fun (9;10)</p>
    </example>
    <p>
    To add a new function type the function in the format as given below. A function name and arguments must only contain upper or lower case characters. The part after @ is the function description which is optional.
    </p>
    <example>
    <p>SimpleInterest (principal; rate; time) = principal * rate * time @ Simple Interest formula</p>
    </example>
    <p>As funcións tamén se poden engadir e inserir usando o botón f(x)</p>
    <example>
    <p>Prema en f(x). Escria o nome da función na caixa, escolla o número de argumentos e prema no botón de +. Na pantalla da calculadora escriba a expresión da función e prema <key>Intro</key>.</p>
    </example>
    <example>
    <p>Prema en f(x). Seleccione a función e prema sobre ela.</p>
    </example>
    <p>As seguinte funcións sempre están definidas</p>
    <table>
    <tr>
    <td><p its:translate="no">abs</p></td>
    <td><p><link xref="absolute">Valor absoluto</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">ceil</p></td>
    <td><p>Ceiling</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">cos</p></td>
    <td><p><link xref="trigonometry">Coseno</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">cosh</p></td>
    <td><p><link xref="trigonometry">Coseno hiperbólico</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">floor</p></td>
    <td><p>Floor</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">frac</p></td>
    <td><p>Comproñente fraccional</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">int</p></td>
    <td><p>Compoñente enteiro</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">ln</p></td>
    <td><p><link xref="logarithm">Logaritmo natural</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">log</p></td>
    <td><p><link xref="logarithm">Logaritmo</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">not</p></td>
    <td><p><link xref="boolean">Booleano NOT</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">ones</p></td>
    <td><p>Complemento a un</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">round</p></td>
    <td><p>Round</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">sgn</p></td>
    <td><p>Signum</p></td>
    </tr>
    <tr>
    <td><p its:translate="no">sin</p></td>
    <td><p><link xref="trigonometry">Seno</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">sinh</p></td>
    <td><p><link xref="trigonometry">Seno hiperbólico</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">sqrt</p></td>
    <td><p><link xref="power">Raíz cuadrada</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">tan</p></td>
    <td><p><link xref="trigonometry">Tanxente</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">tanh</p></td>
    <td><p><link xref="trigonometry">Tanxente hiperbólica</link></p></td>
    </tr>
    <tr>
    <td><p its:translate="no">twos</p></td>
    <td><p>Complemento a dous</p></td>
    </tr>
    </table>
</page>
