Calculates the sine of any expression.
SIN(val)
val |
- |
A scalar, series or table. |
A scalar, series, or table.
sin(-2*pi..pi/100..2*pi);gridhv;griddot
displays the sine from -2π to 2π.
sin(pi/2)
returns 1.
sin(-2..0.1..2)
returns a 41 point series.
t = 0..0.01..1
sin(2*pi*10*t)
returns a 101 point series of a 10 Hertz sinewave sampled at 100 samples per second. This is equivalent to:
gsin(101, 0.01, 10)
The sine is defined as:
for all complex z.
The function calculates in radians unless degrees are specified with the SETDEGREE function.