ASin

From AutoIt Wiki

Jump to: navigation, search

ASin calculates the arcsine of an expression. Adapted from AutoIt docs.

Contents

[edit] Syntax

$x = ASin(expr)

[edit] Parameters

exprAny value inclusively between -1 and 1.

[edit] Return Value

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

[edit] Example

$pi = 3.14159265358979
$radToDeg = 180 / $pi
$y = ASin(1) * $radToDeg  ; arcsine of 1 returns 90 deg
Personal tools