The periodic function SIN returns the trigonometric sine of X.
The angle for which the sine is desired, specified in radians. If X is double-precision floating or complex, the result is of the same type. All other types are converted to single-precision floating-point and yield floating-point results. When applied to complex numbers:
sin x = COMPLEX(sin R cosh I , cos R sinh I )
where R and I are the real and imaginary parts of x .
If input argument X is an array, the result has the same structure, with each element containing the sine of the corresponding element of X .