Skip to main content

Math functions

sin

Commentary

added in 0.0.33

Generates the trigonometric sine of degrees. You can also use this function through an infix math expression.


Examples

Applying sin

{
"_gen": "sin",
"degrees": 90
}
[
1
]

Specification

JSON schema

{
"type": "object",
"properties": {
"degrees": {
"oneOf": [
{
"type": "number"
},
{
"type": "object",
"properties": {
"_gen": {
"type": "string"
}
},
"required": [
"_gen"
]
}
]
}
},
"required": [
"degrees"
]
}