Logo

CSCH

Updated 2023-10-13 14:45:50.117000

Syntax

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

Description

Use the scalar function CSCH to calculate the hyperbolic cosecant of an angle specified in radians.

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

CSCH is undefined at 0.

Examples

Example #1

SELECT wct.CSCH(1.5) as CSCH;

This produces the following result.

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

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.CSCH(Seriesvalue) as CSCH

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

Here's the graph of the results.

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

See Also

CSC - Calculate the cosecant of the given angle.