Skip to content
ricardoboss edited this page Sep 13, 2023 · 1 revision

Description

sin is a function that returns the sine of a number.

Syntax

sin(number x)
  • x is the number to calculate the sine of.

Examples

sin(0) // 0
sin(1) // 0.8414709848078965
sin(pi) // 0
Clone this wiki locally