This Oracle tutorial explains how to use the Oracle/PLSQL COS function with syntax and examples.
The Oracle/PLSQL COS function returns the cosine of a number.
The syntax for the COS function in Oracle/PLSQL is:
COS( number )
The number used to calculate the cosine.
The COS function returns a numeric value.
The COS function can be used in the following versions of Oracle/PLSQL:
Let's look at some Oracle COS function examples and explore how to use the COS function in Oracle/PLSQL.
For example:
COS(0.2)
Output: 0.980066577841242
COS(0.35)
Output: 0.939372712847379
COS(-3.15)
Output: -0.999964658471342
COS(200)
Output: 0.487187675007006