Logo

ACOTH

Updated 2023-10-13 14:33:50.953000

Syntax

SELECT [westclintech].[wct].[ACOTH] (
   <@Z, float,>)

Description

Use the scalar function ACOTH to calculate the hyperbolic arccotangent of a number.

Arguments

@Z

The cotangent of the angle. @Z must be of type float or of a type that implicitly converts to float.

Return Type

float

Remarks

The returned angle is given in radians in the range zero to pi.

Examples

Example #1

SELECT wct.ACOTH(6) as ACOTH;

This produces the following result.

{"columns":[{"field":"ACOTH","headerClass":"ag-right-aligned-header","cellClass":"ag-right-aligned-cell"}],"rows":[{"ACOTH":"0.168236118310606"}]}

Example #2

The following SQL can be run and the results pasted into Excel to graph the results of the function in the range -10, 10.

SELECT seriesValue as z,

       wct.ACOTH(Seriesvalue) as ACOTH

FROM wct.SERIESFLOAT(-10, 10, .01, NULL, NULL);

Here's the graph of the results.

http://westclintech.com/Portals/0/images/doc_math_ACOTH_img1.jpg

See Also

ACOT - Calculate the arccotangent of a number.

COTH - Calculate hyperbolic cotangent of a number.