# Funkcije

Functions can be used by inserting the name of the function followed by function arguments. Calculator also support user-defined functions. If the argument is not a number or a single variable then write each argument separated by semicolon and use parenthesis around the argument list.

sin 30

abs (5−9)

fun (9;10)

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.

SimpleInterest (principal; rate; time) = principal * rate * time @ Simple Interest formula

Functions can also be added and inserted using the f(x) button.

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 Enter.

Click on f(x). Choose the function and click on it.

Določene so naslednje funkcije.

abs | Absolutna vrednost
ceil | Ceiling
cos | Kosinus
cosh | Hiperbolični kosinus
floor | Floor
ulom | Enota ulomka
int | Celoštevilčna enota
ln | Naravni logaritem
log | Logaritem
ne | Logični NOT
Enojni | Enojni komplement
round | Round
sgn | Signum
sin | Sinus
sinh | Hiperbolični sinus
sqrt | Kvadratni koren
tan | Tangens
tanh | Hiperbolični tangens
dvojni komplement | Dvojni komplement