PostgreSQL/Math Functions/cos
cos(x): Returns the cosine of x
postgres=# -- cos(x): Returns the cosine of x
postgres=# SELECT cos(pi()) AS cos_pi, cos(0) AS cos_zero;
cos_pi | cos_zero
--------+----------
-1 | 1
(1 row)
postgres=#
postgres=# -- cos(x): Returns the cosine of x
postgres=# SELECT cos(pi()) AS cos_pi, cos(0) AS cos_zero;
cos_pi | cos_zero
--------+----------
-1 | 1
(1 row)
postgres=#