The sin native AI script function returns the sinus of the input value.
(y: f)sin(x: f) // sin_f_f
(y)sin(x);
This example code calls the sin function with an input value of x and assigns the resulting sinus value to y.
x
y