COTH
Updated 2023-10-13 14:41:38.450000
Syntax
SELECT [westclintech].[wct].[COTH] (
<@Z, float,>)
Description
Use the scalar function COTH to calculate the hyperbolic cotangent of a hyperbolic angle.
Arguments
@Z
The number of interest. @Z must be of type float or of a type that implicitly converts to float.
Return Type
float
Remarks
COTH is undefined at 0.
Examples
Example #1
SELECT wct.COTH(2) as COTH;
This produces the following result.
{"columns":[{"field":"COTH","headerClass":"ag-right-aligned-header","cellClass":"ag-right-aligned-cell"}],"rows":[{"COTH":"1.03731472072755"}]}
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.COTH(Seriesvalue) as COTH
FROM wct.SERIESFLOAT(-10, 10, .01, NULL, NULL);
Here's the graph of the results