REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: sine

sine  value  /radians

Returns the trigonometric sine.

Arguments:

value [number!] - In degrees by default

Refinements:

/radians - Value is specified in radians

See also:

arccosine   arcsine   arctangent   cosine   tangent  

Description

Ratio between the length of the opposite side to the length of the hypotenuse of a right triangle.

print sine 90
1.0
print (sine 45) = (cosine 45)
true
print sine/radians pi
0.0


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin