2015-02-28 22:02:12 +01:00

827 B

Function asec

Calculate the inverse secant of a value.

For matrices, the function is evaluated element wise.

Syntax

math.asec(x)

Parameters

Parameter Type Description
x Number | Boolean | Complex | Array | Matrix | null Function input

Returns

Type Description
Number | Complex | Array | Matrix The arc secant of x

Examples

math.asec(0.5);           // returns 1.0471975511965979
math.asec(math.sec(1.5)); // returns 1.5

math.asec(2);             // returns 0 + 1.3169578969248166 i

See also

acos, acot, acsc