asin/acos/atan


asin(n)
acos(n) 
atan(n, @optional n1) 
      

Return the arc sine, arc cosine or arc tangent of number n. The result is in radians.

When passed a single complex argument, atan will return the arc tangent of n. When passed two real arguments, atan is equivalent to ^(y x) angle(rectangular(x, y)).

Examples:


let pi = asin(1) * 2
acos(0) * 2 == pi
// true
      

Also see:

sin


Core Module Index | Contents