WorksheetFunction.Cosh Method
Returns the hyperbolic cosine of a number.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function Cosh ( _
Arg1 As Double _
) As Double
'Usage
Dim instance As WorksheetFunction
Dim Arg1 As Double
Dim returnValue As Double
returnValue = instance.Cosh(Arg1)
double Cosh(
double Arg1
)
Parameters
Arg1
Type: System.DoubleAny real number for which you want to find the hyperbolic cosine.
Return Value
Type: System.Double
Remarks
The formula for the hyperbolic cosine is:
Figure 1: Formula for the hyperbolic cosine