Function Math Trig Derived Class

Sec

" Secant "

Signature (Visual Basic / VBA)

Public Function Sec( _
    ByRef X As Variant _
    ) As Variant

Code Example

    Sec(X) = 1 / Cos(X)

Notes & Version History

Summary This function is for users who have Visual Basic code that is based upon Microsoft's definition of this function in their "Derived Math Functions" Help Topic. This function is limited to arguments and results that are real numbers.