Returns the sine value of the specified angle.
sin( value ) measure value
value
Measure value specifying the angle whose sine is returned.
This example draws a somewhat sinusoidal graph.
moveto(0,0)
define(&i,integer,0)
for(&i,1,10,360)
lineto(cos(inttofloat((&i)/ 4)),sin(inttofloat(&i)))
endfor()
closepath()