Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

COSH

Returns the hyperbolic cosine of an angle.

Synopsis

COSH(number)

Arguments

number An expression that resolves to a number that expresses an angle in degrees.

Description

The COSH function takes an angle in degrees and returns the ratio of two sides of a right triangle. The ratio is the length of the side adjacent to the angle divided by the length of the hypotenuse. This ratio is in the range of 1 to -1 (inclusive).

Examples

The following example uses the COSH function to return the hyperbolic cosine of an angle:

Dim MyAngle
MyAngle = 1.3;        ! Define angle in degrees.
PRINT COSH(MyAngle);  ! Returns hyperbolic cosine ratio.

See Also

FeedbackOpens in a new tab