Navigation
Synopsis Calculate the sine of a numeric value.
Function real sin(num x)
Usage import util::Math;
Description The sine of the number x.
Examples
rascal>import util::Math;
ok
rascal>sin(0)
real: 0.
rascal>sin(PI() / 2)
real: 1.00000000000
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.