RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Math.Sec Function

Calculates the secant of an angle.

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

Math

Call Sec to obtain the secant of X, where X is an angle in radians. The secant is calculated using the formula 1 / Cos(X).

Note: Sec is identical to the Secant function.
 

ArcSec 

Secant 

SecH 

Cos

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