文件操作 - functions.page
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/help/sl/gnome-calculator/functions.page
编辑文件内容
<?xml version="1.0" encoding="utf-8"?> <page xmlns="http://projectmallard.org/1.0/" type="guide" id="function" xml:lang="sl"> <info> <link type="guide" xref="index#equation"/> </info> <title>Funkcije</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>Določene so naslednje funkcije.</p> <table> <tr> <td><p>abs</p></td> <td><p><link xref="absolute">Absolutna vrednost</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">Kosinus</link></p></td> </tr> <tr> <td><p>cosh</p></td> <td><p><link xref="trigonometry">Hiperbolični kosinus</link></p></td> </tr> <tr> <td><p>floor</p></td> <td><p>Floor</p></td> </tr> <tr> <td><p>ulom</p></td> <td><p>Enota ulomka</p></td> </tr> <tr> <td><p>int</p></td> <td><p>Celoštevilčna enota</p></td> </tr> <tr> <td><p>ln</p></td> <td><p><link xref="logarithm">Naravni logaritem</link></p></td> </tr> <tr> <td><p>log</p></td> <td><p><link xref="logarithm">Logaritem</link></p></td> </tr> <tr> <td><p>ne</p></td> <td><p><link xref="boolean">Logični NOT</link></p></td> </tr> <tr> <td><p>Enojni</p></td> <td><p>Enojni komplement</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">Hiperbolični sinus</link></p></td> </tr> <tr> <td><p>sqrt</p></td> <td><p><link xref="power">Kvadratni koren</link></p></td> </tr> <tr> <td><p>tan</p></td> <td><p><link xref="trigonometry">Tangens</link></p></td> </tr> <tr> <td><p>tanh</p></td> <td><p><link xref="trigonometry">Hiperbolični tangens</link></p></td> </tr> <tr> <td><p>dvojni komplement</p></td> <td><p>Dvojni komplement</p></td> </tr> </table> </page>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件