Difference between revisions of "Documentation/How Tos/Calc: SIN function"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Initial content)
 
m
Line 9: Line 9:
  
 
: returns the (trigonometric) sine of <tt>'''angle'''</tt>, the angle in radians.
 
: returns the (trigonometric) sine of <tt>'''angle'''</tt>, the angle in radians.
 
  
 
: To return the sine of an angle in degrees, use the <tt>'''RADIANS'''</tt> function.
 
: To return the sine of an angle in degrees, use the <tt>'''RADIANS'''</tt> function.

Revision as of 06:56, 8 December 2007


SIN

Returns the sine of the given angle (in radians).


Syntax:

SIN(angle)

returns the (trigonometric) sine of angle, the angle in radians.
To return the sine of an angle in degrees, use the RADIANS function.


Example:

SIN(PI()/2)

returns 1, the sine of PI/2 radians

SIN(RADIANS(30))

returns 0.5, the sine of 30 degrees


See also:

COS, TAN, COT

ACOS, ASIN, ATAN, ATAN2, ACOT

RADIANS, PI

Mathematical functions

Personal tools