| Server IP : 104.21.25.180 / Your IP : 162.159.115.42 Web Server : Apache/2.4.37 System : Linux almalinux.duckdns.org 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64 User : ricodeal ( 1046) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/help/ro/gnome-calculator/ |
Upload File : |
<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="guide" id="function" xml:lang="ro">
<info>
<link type="guide" xref="index#equation"/>
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
<mal:name>Nichita Uțiu</mal:name>
<mal:email>[email protected]</mal:email>
<mal:years>2010</mal:years>
</mal:credit>
</info>
<title>Funcții</title>
<p>
Functions can be used by inserting the name of the function followed by function arguments. <app>Calculator</app> also support user-defined functions.
If the argument is not a number or <link xref="variable">a single variable</link> then write each argument separated by semicolon and use parenthesis around the argument list.
</p>
<example>
<p>sin 30</p>
<p>abs (5−9)</p>
<p>
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>
Functions can also be added and inserted using the f(x) button.
</p>
<example>
<p>
Click on f(x). Type the function name in the box, choose the number of arguments and click on the plus sign button next to it. On the calculator screen type the function expression and press <key>Enter</key>.
</p>
</example>
<example>
<p>
Click on f(x). Choose the function and click on it.
</p>
</example>
<p>Următoarele funcții sunt definite.</p>
<table>
<tr>
<td><p>abs</p></td>
<td><p><link xref="absolute">Valoare absolută</link></p></td>
</tr>
<tr>
<td><p>ceil</p></td>
<td><p>Ceiling</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>floor</p></td>
<td><p>Floor</p></td>
</tr>
<tr>
<td><p>frac</p></td>
<td><p>Partea fracționară</p></td>
</tr>
<tr>
<td><p>int</p></td>
<td><p>Partea întreagă</p></td>
</tr>
<tr>
<td><p>ln</p></td>
<td><p><link xref="logarithm">Logaritm natural</link></p></td>
</tr>
<tr>
<td><p>log</p></td>
<td><p><link xref="logarithm">Logaritm</link></p></td>
</tr>
<tr>
<td><p>not</p></td>
<td><p><link xref="boolean">NU logic</link></p></td>
</tr>
<tr>
<td><p>ones</p></td>
<td><p>Complement față de unu</p></td>
</tr>
<tr>
<td><p>round</p></td>
<td><p>Round</p></td>
</tr>
<tr>
<td><p>sgn</p></td>
<td><p>Signum</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>sqrt</p></td>
<td><p><link xref="power">Radical</link></p></td>
</tr>
<tr>
<td><p>tan</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>Complement față de doi</p></td>
</tr>
</table>
</page>