Returns the sine of the argument.
The sin
function calculates the sine of an angle z
,
which may be in radianer or degrees depending on the current settings.
z
may be any numeric expression that evaluates
to a real number or a complex number.
If z
is a real number, the result will be in the range -1 to 1.
Returns the cosine of the argument.
The cos
function calculates the cosine of an angle z
,
which may be in radianer or degrees depending on the current settings.
z
may be any numeric expression that evaluates
to a real number or a complex number.
If z
is a real number, the result will be in the range -1 to 1.
Returns the tangent of the argument.
The tan
function calculates the tangent of an angle z
,
which may be in radianer or degrees depending on the current settings.
z
may be any numeric expression that evaluates
to a real number or a complex number.
For arguments with a large magnitude, the function will begin to lose precision.
tan
is undefined at z = p*π/2,
where p is an heltal,
but the function returns a very large number if z
is near the undefined value.
Returns the inverse sine of the argument.
The asin
function calculates the inverse sine of z
.
The result may be in radianer or degrees depending on the current settings.
z
may be any numeric expression that evaluates to a real number.
This is the reverse of the sin
function.
Returns the inverse cosine of the argument.
The acos
function calculates the inverse cosine of z
.
The result may be in radianer or degrees depending on the current settings.
z
may be any numeric expression that evaluates to a real number.
This is the reverse of the cos
function.
Returns the inverse tangent of the argument.
The atan
function calculates the inverse tangent of z
.
The result may be in radianer or degrees depending on the current settings.
z
may be any numeric expression that evaluates to a real number.
This is the reverse of the tan
function.
Returns the secant of the argument.
The sec
function calculates the secant of an angle z
,
which may be in radianer or degrees depending on the current settings.
sec(z) is the same as 1/cos(z).
z
may be any numeric expression that evaluates to a real number or a complex number.
Returns the cosecant of the argument.
The csc
function calculates the cosecant of an angle z
,
which may be in radianer or degrees depending on the current settings.
csc(z) is the same as 1/sin(z).
z
may be any numeric expression that evaluates to a real number or a complex number.
Returns the cotangent of the argument.
The cot
function calculates the cotangent of an angle z
,
which may be in radianer or degrees depending on the current settings.
cot(z) is the same as 1/tan(z).
z
may be any numeric expression that evaluates to a real number or a complex number.
Returns the inverse secant of the argument.
The asec
function calculates the inverse secant of z
.
The result may be in radianer or degrees depending on the current settings.
asec(z) is the same as acos(1/z).
z
may be any numeric expression that evaluates to a real number.
This is the reverse of the sec
function.
Returns the inverse cosecant of the argument.
The acsc
function calculates the inverse cosecant of z
.
The result may be in radianer or degrees depending on the current settings.
acsc(z) is the same as asin(1/z).
z
may be any numeric expression that evaluates to a real number.
This is the reverse of the csc
function.
Returns the inverse cotangent of the argument.
The acot
function calculates the inverse cotangent of z
.
The result may be in radianer or degrees depending on the current settings.
acot(z) is the same as atan(1/z).
z
may be any numeric expression that evaluates to a real number.
This is the reverse of the cot
function.
The acot
function returns a value in the range ]-π/2;π/2] (]-90;90] when calculating in degrees),
which is the most common definition, though some may define it to be in the range ]0;π[.