Modified Bessel function of the second kind, ordern+½.
Loading LOADSUB ALL FROM "BESMS.HTS"
or LOADSUB FROM "MATHLIB.HTS"
Usage INTEGER N
REAL X,Y
Y=FNKhn(N,X)
Description
FNKhnreturns the value of the modified cylindrical Bessel function of the second kind and ordern+½ ofx,Kn+½(x).Kn+½(x) is defined for all values ofnand for all positive values ofx.
Errors
FNKhncauses an HTBasic error if its arguments are not of the types shown in the USAGE section, above, or ifxis negative or zero.
See Also
Ihn, Kn
Kn+½(x)
Note
The algorithm used computes the value ofKn+½ using a recursion from the values ofK½ andK1½. The computation time increases withnand the computation accuracy decreases withn.