Oracle PL/SQL/Numeric Math Functions/ACOS
Версия от 13:45, 26 мая 2010; (обсуждение)
ACOS(1)
SQL> --ACOS(x): Returns the arccosine of x.
SQL>
SQL> select ACOS(1) from dual;
ACOS(1)
----------
0
SQL>
ACOS(x): Returns the arccosine of x
SQL>
SQL> --ACOS(x): Returns the arccosine of x.
SQL>
SQL> select ACOS(-1) from dual;
ACOS(-1)
----------
3.14159265
SQL>
The ACOS() function is used to return the arccosine of the <numeric expression> passed to it.
Syntax: ACOS(<numeric expression>)
SQL>
SQL> SELECT ACOS(.5) from dual;
ACOS(.5)
----------
1.04719755