Logo

BESSELY

Updated 2024-03-14 14:20:47.177000

Syntax

SELECT [westclintech].[wct].[BESSELY] (
  <@x, float,>
 ,<@n, float,>)

Description

Use BESSELY function to calculate the Bessel function of the second kind Yn(x). The BESSELY function is defined by

Y_n(x) = \lim_{v \to n} \frac{J_v(x) \cos (v\pi) - J_{-v}(x)}{\sin (v\pi)}

Where Jn is the BESSELJ function.

Arguments

@x

is the value at which to evaluate the function. @x is an expression of type float or of a type that can be implicitly converted to float.

@n

is the order of the Bessel function. @n is an expression of type float or of a type that can be implicitly converted to float.

Return Type

float

Remarks

@n is truncated to zero decimal places.

If @n is less than zero, BESSELY returns an error.

Examples

select wct.BESSELY(2.5,1);

This produces the following result.

{"columns":[{"field":"column 1","headerClass":"ag-right-aligned-header","cellClass":"ag-right-aligned-cell"}],"rows":[{"column 1":"0.145918137484894"}]}