HTBasic Help
×
Menu
Index
Khn
Modified Bessel function of the second kind, order n+½.
 
Loading        LOADSUB ALL FROM "BESMS.HTS"
or LOADSUB FROM "MATHLIB.HTS"
 
Usage                INTEGER N
REAL X,Y
Y=FNKhn(N,X)
 
Description                
FNKhn returns the value of the modified cylindrical Bessel function of the second kind and order n+½ of x, Kn+½(x). Kn+½(x) is defined for all values of n and for all positive values of x.
 
Errors                
FNKhn causes an HTBasic error if its arguments are not of the types shown in the USAGE section, above, or if x is negative or zero.
 
See Also
Ihn, Kn
 
Kn+½(x)
Note
The algorithm used computes the value of Kn+½ using a recursion from the values of K½ and K1½. The computation time increases with n and the computation accuracy decreases with n.