mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
31 lines
579 B
Plaintext
31 lines
579 B
Plaintext
NAME
|
|
cot - trigonometric cotangent
|
|
|
|
SYNOPSIS
|
|
cot(x [,eps])
|
|
|
|
TYPES
|
|
x nonzero real
|
|
acc nonzero real, defaults to epsilon()
|
|
|
|
return real
|
|
|
|
DESCRIPTION
|
|
Calculate the cotangent of x to a multiple of eps, with error less
|
|
in absolute value than .75 * eps.
|
|
|
|
EXAMPLE
|
|
> print cot(1, 1e-5), cot(1, 1e-10), cot(1, 1e-15), cot(1, 1e-20)
|
|
.64209 .6420926159 .642092615934331 .64209261593433070301
|
|
|
|
LIMITS
|
|
unlike sin and cos, x must be real
|
|
x != 0
|
|
eps > 0
|
|
|
|
LIBRARY
|
|
NUMBER *qcot(NUMBER *x, *eps)
|
|
|
|
SEE ALSO
|
|
sin, cos, tan, sec, csc, epsilon
|