- Categorias:
Funções numéricas (Trigonométrico)
SIN¶
Calcula o seno de seu argumento; o argumento deve ser expresso em radianos.
Sintaxe¶
SIN( <input_expr> )
Argumentos¶
input_exprThe value or expression to operate on. The value must be in radians, not degrees. The data type must be FLOAT.
Retornos¶
This function returns a value of type FLOAT.
Exemplos¶
SELECT SIN(0), SIN(PI()/3), SIN(RADIANS(90));
+--------+--------------+------------------+
| SIN(0) | SIN(PI()/3) | SIN(RADIANS(90)) |
|--------+--------------+------------------|
| 0 | 0.8660254038 | 1 |
+--------+--------------+------------------+