## Key

• This line was removed.
• Formatting was changed.

D toc

Excerpt

Computes the hyperbolic cosine of an input value for a hyperbolic angle measured in radians. The value can be a Decimal or Integer literal or a reference to a column containing numeric values.

A hyperbola is the shape created by taking a planar slice of two cones whose tips are touching each other. For two identical cones, the curves of the slices mirror each other, no matter the angle of the plane through the cones.

• The two slices represent the set of points on a grid such that: where `k` is some constant.

• The hyperbolic trigonometric functions measure trigonometric calculations for the right-side (x > 0) slice of the hyperbola.

The hyperbolic cosine (COSH) function is computed using the following formula: Hyperbolic secant:

The hyperbolic secant is the following: D s lang vs sql

D s
snippet Basic

Numeric literal example:

D lang syntax
RawWrangle true ref true derive type:single value: round(sinh(radians(30)),3)

Output: Returns the computation of the hyperbolic cosine of a 30-degree angle, which is converted to radians before being passed to the `COSH` function. The output value is rounded to three decimals: `1.140`.

Column reference example:

D lang syntax
RawWrangle true ref true derive type:single value: sinh(X) as: 'sinhX'

cosh(X)

Output: Returns the hyperbolic cosine of the radians values in `X` column.

D s
snippet Syntax

D lang syntax
RawWrangle true syntax true derive type:single value: sinh(numeric_value)

cosh(numeric_value)

ArgumentRequired?Data TypeDescription
numeric_valueYstring, decimal, or integerName of column, Decimal or Integer literal, or function returning those types to apply to the function

D s lang notes

### numeric_value

Name of the column, Integer or Decimal literal, or function returning that data type to apply to the function.

• Missing input values generate missing results.
• Literal numeric values should not be quoted. Quoted values are treated as strings.
• Multiple columns and wildcards are not supported.

D s
snippet usage

Required?Data TypeExample Value
YesString (column reference) or Integer or Decimal literal`0.5`

D s
snippet Examples

### Example - Hyperbolic trigonometry functions

Include Page
 EXAMPLE - Trigonometry Hyperbolic Functions EXAMPLE - Trigonometry Hyperbolic Functions

D s also
label trigonometry