sin()

Returns the sine of the specified angle.

Syntax

sin(RADIAN_EXPR)
Required Parameters
RADIAN_EXPR
Radian expression. This function returns null when it receives an argument value that is not a number.

Usage

json "{}" | eval sin=sin(0) => 0

json "{}" | eval sin=sin(30 * 3.14 / 180) => 0.4997701026431024

json "{}" | eval sin=sin(60 * 3.14 / 180) => 0.8657598394923444

json "{}" | eval sin=sin(90 * 3.14 / 180) => 0.9999996829318346

json "{}" | eval sin=sin("0") => null