RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Math.Cotan Function

Calculates the cotangent of an angle.

Pascal
function Cotan(const X: Extended): Extended;
C++
Extended Cotan(const Extended X);

Math

Call Cotan to obtain the cotangent of X. The cotangent is calculated using the formula 

1 / Tan(X)

Note: Do not call Cotan with X = 0.
 

 

Tan 

Sin 

Cos 

ArcTan

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!