TRY NEW VERSION

SECH

SECH(arg1) → { number | string | boolean }

Returns the hyperbolic secant of an angle.

Parameters:

Name Type Description
arg1 number

Is the angle in radians for which you want the hyperbolic secant.

Returns:

Type
number | string | boolean

Example

Copy code
builder.CreateFile("xlsx");
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.SECH(0.785398));
builder.SaveFile("xlsx", "SECH.xlsx");
builder.CloseFile();

Resulting document