Excel Function : SECH
Category
Math and trigonometry
Description
Returns the hyperbolic secant of an angle
Microsoft Excel Reference Page
https://support.office.com/en-us/article/SECH-function-e05a789f-5ff7-4d7f-984a-5edb9b09556f
Syntax and Description of the SECH Excel Function
for vba
I need the syntax for using the SECH function in a vba macro. I would like to use this function to calculate the hyperbolic secant of an angle in radians.
A:
The M-file sech.m
needs to be in your current directory to use sech
in VBA.
About SECH Excel Function
The SECH function returns the hyperbolic secant of a number, which is the reciprocal of the hyperbolic cosine.