sin
Sine of argument in radians
Syntax
Description
Examples
Input Arguments
Output Arguments
More About
Tips
To compute
sin(X*pi)
accurately, without usingpi
as a floating-point approximation of π, you can use thesinpi
function instead. For example,sinpi(n)
is exactly zero for integersn
andsinpi(m/2)
is +1 or –1 for odd integersm
.