<< acosh Trigonométrie acotd >>

Scilab Help >> Fonctions Elémentaires > Trigonométrie > acot

acot

computes the element-wise inverse cotangent of the argument.

Syntax

y = acot(x)

Arguments

x

a real or complex array.

y

a real or complex array.

Description

Computes the element-wise inverse cotangent of the argument. For real argument the result is real.

The following equalities hold: acot(z) = %pi-acot(-z)=%pi/2-atan(z)=%i*acoth(%i*z)+%pi/2*(1-csgn(z+%i)) .

Sample

Examples

x=[1 2 -2 sqrt(2) -sqrt(2) 2/sqrt(3) -2/sqrt(3) -1];
acot(x)/%pi

See also

References


Report an issue
<< acosh Trigonométrie acotd >>