ACOS
ACOS(x)
Computes the arc cosine of x
.
SQL command | Result |
---|---|
SELECT ACOS(0.7) | 0.7953988301841436 |
ACOSH
ACOSH(x)
Computes the inverse hyperbolic cosine of x
.
SQL command | Result |
---|---|
SELECT ACOSH(90) | 5.192925985263684 |
ASIN
ASIN(x)
Computes the arc sine of x
.
SQL command | Result |
---|---|
SELECT ASIN(0.7) | 0.775397496610753 |
ASINH
ASINH(x)
Computes the inverse hyperbolic sine of x
.
SQL command | Result |
---|---|
SELECT ASINH(0.7) | 0.6526665660823557 |
ATAN
ATAN(x)
Computes the arc tangent of x
.
SQL command | Result |
---|---|
SELECT ATAN(0.7) | 0.6107259643892086 |
ATAN2
ATAN2(y, x)
Computes the arc tangent of y / x
, but with proper sign for quadrant correction. That is, correctly computes the angle θ
when converting from the Cartesian coordinates (x, y)
to the polar coordinates (r, θ)
.
SQL command | Result |
---|---|
SELECT ATAN2(5, 3) | 1.0303768265243125 |
ATANH
ATANH(x)
Computes the inverse hyperbolic tangent of x
.
SQL command | Result |
---|---|
SELECT ATANH(0.7) | 0.8673005276940531 |
COS
ACOS(x)
Computes the arc cosine of x
.
SQL command | Result |
---|---|
SELECT COS(0.7) | 0.7648421872844885 |
COSH
ACOSH(x)
Computes the inverse hyperbolic cosine of x
.
SQL command | Result |
---|---|
SELECT COSH(0.7) | 1.255169005630943 |
HYPOT
HYPOT(x, y)
Computes SQRT(x*x + y*y)
, that is, the length of the hypothenuse of a right-angled triangle with sides of lengths x
and y
. This is also the distance between the point at coordinates (x, y)
and origin.
SQL command | Result |
---|---|
SELECT HYPOT(3, 4) | 5.0 |
SIN
ASIN(x)
Computes the arc sine of x
.
SQL command | Result |
---|---|
SELECT SIN(0.7) | 0.644217687237691 |
SINH
ASINH(x)
Computes the inverse hyperbolic sine of x
.
SQL command | Result |
---|---|
SELECT SINH(0.7) | 0.7585837018395334 |
TAN
ATAN(x)
Computes the arc tangent of x
.
SQL command | Result |
---|---|
SELECT TAN(0.7) | 0.8422883804630794 |
TANH
ATANH(x)
Computes the inverse hyperbolic tangent of x
.
SQL command | Result |
---|---|
SELECT TANH(0.7) | 0.6043677771171636 |