# Documentation/Calc Functions/COTH

From The Document Foundation Wiki

TDF LibreOffice Document Liberation Project Community Blogs Weblate Nextcloud Redmine Ask LibreOffice Donate

## Function name:

COTH

## Category:

Mathematical

## Summary:

Returns the hyperbolic cotangent of a number.

## Syntax:

COTH(**Number**)

## Returns:

Returns the hyperbolic cotangent of **Number**. The resultant value is between -∞ and +∞, i.e. (-∞,+∞).

## Arguments:

**Number** is the real number, or a reference to a cell containing that number, whose hyperbolic cotangent value is to be calculated.

If **Number** is 0, the coth value is undefined, hence the function returns a numeric error(#NUM!) value.

## Additional details:

The formula for the hyperbolic cotangent is:

where N is the **Number**

The figure below illustrates the function COTH.

## Examples:

Formula | Description | Returns |
---|---|---|

=COTH(1) | hyperbolic cotangent of 1 | 1.31303528549933 |

=COTH(0) | hyperbolic cotangent of 0 returns numeric error value | #NUM! |

## Related LibreOffice functions:

## ODF standard:

## Equivalent Excel functions:

COTH