Skip to main content

ACOSH

Returns the inverse hyperbolic cosine of a number.

Syntax

expression.ACOSH(arg1);

expression - A variable that represents a ApiWorksheetFunction class.

Parameters

NameRequired/OptionalData typeDefaultDescription
arg1RequiredApiRange | ApiName | numberAny real number equal to or greater than 1.

Returns

number

Example

This example shows how to return the inverse hyperbolic cosine of a number.

// How to get an inverse hyperbolic cosine of a number and display it in the worksheet.

// Get a function that gets inverse hyperbolic cosine of a number.

let worksheet = Api.GetActiveSheet();
let func = Api.GetWorksheetFunction();
worksheet.GetRange("A1").SetValue(func.ACOSH(3.25));