Oracle SQL - Function COS function

Introduction

COS - Returns the cosine of a value.

The COS function takes arguments in radians where,

radians  = (angle * 2 * 3.1416 / 360) 

Using the COS function to find the cosine of 60 degrees:

Demo

SQL>
SQL> SELECT COS(60*2*3.1416/360)
  2  FROM dual;-- ww  w .j a va  2s .  co  m

COS(60*2*3.1416/360)
--------------------
            00000.50

SQL>