BESSELK
Updated 2024-03-14 13:56:42.087000
Syntax
SELECT [westclintech].[wct].[BESSELK] (
<@x, float,>
,<@n, float,>)
Description
Use the BESSELK function to calculate the modified Bessel function of the second kind Kn(x). The BESSELK function is defined by
K_n(x)=\frac{\pi}{2}i^{n+1}\left[J_n(ix)+Y_n(ix)\right]
where Jn and Yn are the BESSELJ and BESSELY functions.
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, BESSELK returns an error.
Examples
select wct.BESSELK(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.0738908156502669"}]}