Cotan
From SCAR Divi Manual
Definition
function Cotan(X: Extended): Extended;
Availability
SCAR Divi 3.00 > Current
Description
This function calculates the cotangent of a value X. The cotangent of an angle is the ratio of the length of the hypotenuse to the length of the opposite side. It is a trigonometric function.
Cotan(X) = Cos(X) / Sin(X)
Example
begin WriteLn(Cotan(1)); WriteLn(Cotan(0.5)); end.
Output:
0,642092615934331 1,83048772171245