Core Function ASin

From Sputnik Wiki
Revision as of 04:09, 9 November 2011 by UberFoX (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
ASin( <expression> )

Contents

Description

Calculates the arcsine of a number.

Parameters

expression

Any value between -1 and 1 (inclusive).

Return Value

Returns the trigonometric arcsine of expression. Result is in radians.

Remarks

ASin(x) is mathematically defined only for -1 < x < 1, so ASin tends to return NaN for other values of x.

Example

$x = ASin(0.5)
$radToDeg = 180 / @PI
$y = ASin(1) * $radToDeg 
println( "Value is: $y " ) ;arcsine of 1 returns 90°
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox