# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
the sin of angleInRadians
# Params
- angleInRadians : A positive or negative number, or an expression that evaluates to a number.
# Examples
put the sin of (-pi/2) -- returns -1
put sin(the startAngle of graphic "Pointer")
# Description
sin(x) = sin(x + 2 * pi)
for any value of x.
The sin function requires its input to be in radians. To provide an angle in degrees, use the following custom function:
function sinInDegrees angleInDegrees return sin(angleInDegrees * pi / 180) end sinInDegrees
# Tags
math,
# See