Function Math Trig Derived Class

Arccos

"Inverse Cosine "

Signature (Visual Basic / VBA)

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

Code Example

    Arccos(X) = Atn(-X / Sqr(-X * X + 1)) + 2 * Atn(1)

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.