Oracle PL/SQL/Numeric Math Functions/ACOS

Материал из SQL эксперт
Перейти к: навигация, поиск

ACOS(1)

   <source lang="sql">

SQL> --ACOS(x): Returns the arccosine of x. SQL> SQL> select ACOS(1) from dual;

  ACOS(1)

        0

SQL>

      </source>
   
  


ACOS(x): Returns the arccosine of x

   <source lang="sql">

SQL> SQL> --ACOS(x): Returns the arccosine of x. SQL> SQL> select ACOS(-1) from dual;

 ACOS(-1)

3.14159265 SQL>

      </source>
   
  


The ACOS() function is used to return the arccosine of the <numeric expression> passed to it.

   <source lang="sql">

Syntax: ACOS(<numeric expression>)

SQL> SQL> SELECT ACOS(.5) from dual;

 ACOS(.5)

1.04719755

</source>