Difference between revisions of "ACOS()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to calculate and return the angle size in radians for any given cosine value | Function to calculate and return the angle size in radians for any given cosine value | ||
− | |||
==Syntax== | ==Syntax== | ||
ACOS(<expN>) | ACOS(<expN>) | ||
− | |||
==See Also== | ==See Also== | ||
[[ASIN()]], [[ATAN()]], [[ATN2()]], [[COS()]], [[DTOR()]], [[EXP()]], [[LOG()]], [[LOG10()]], [[PI()]], [[RTOD()]], [[SIN()]], [[TAN()]], [[SET DECIMALS]], [[SET FIXED]] | [[ASIN()]], [[ATAN()]], [[ATN2()]], [[COS()]], [[DTOR()]], [[EXP()]], [[LOG()]], [[LOG10()]], [[PI()]], [[RTOD()]], [[SIN()]], [[TAN()]], [[SET DECIMALS]], [[SET FIXED]] | ||
− | |||
==Description== | ==Description== | ||
The ACOS() function calculates the angle size of a cosine value. The cosine value is represented by the numeric expression <expN>. The numeric expression must fall between -1.0 and +1.0 inclusive. The angle size is returned as a numeric in radians. The SET DECIMALS command determines the number of decimals displayed in the returned angle size. | The ACOS() function calculates the angle size of a cosine value. The cosine value is represented by the numeric expression <expN>. The numeric expression must fall between -1.0 and +1.0 inclusive. The angle size is returned as a numeric in radians. The SET DECIMALS command determines the number of decimals displayed in the returned angle size. | ||
− | |||
==Example== | ==Example== | ||
Line 25: | Line 21: | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Numeric Data]] | [[Category:Numeric Data]] | ||
[[Category:Numeric Data Functions]] | [[Category:Numeric Data Functions]] |
Revision as of 10:24, 26 October 2011
Contents
Purpose
Function to calculate and return the angle size in radians for any given cosine value
Syntax
ACOS(<expN>)
See Also
ASIN(), ATAN(), ATN2(), COS(), DTOR(), EXP(), LOG(), LOG10(), PI(), RTOD(), SIN(), TAN(), SET DECIMALS, SET FIXED
Description
The ACOS() function calculates the angle size of a cosine value. The cosine value is represented by the numeric expression <expN>. The numeric expression must fall between -1.0 and +1.0 inclusive. The angle size is returned as a numeric in radians. The SET DECIMALS command determines the number of decimals displayed in the returned angle size.
Example
set decimal to 4 ?acos(0.7071) 0.7854 set decimals to 2 ?rtod(acos(cos(dtor(30)))) 30.00