HTBasic Help
×
Menu
Index
Kn
Modified Bessel function of the second kind, order n.
 
Loading        LOADSUB ALL FROM "BESMC.HTS"
or LOADSUB FROM "MATHLIB.HTS"
 
Usage                INTEGER N
REAL X,Y
Y=FNKn(N,X)
 
Description                
FNKn 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 all positive values of x, but values of x close to zero may cause the absolute value of the result to be larger than MAXREAL, the largest value representable.
 
Errors                
FNKn causes an HTBasic error if its arguments are not of the types listed in the USAGE section, above, if x is not positive, or if the result would be larger than MAXREAL.
 
Kn(x)
See Also                In, K0, K1, Kn, Kne
 
Note
The algorithm used computes the value of Kn using a recursion from the values of K0 and K1. The computation time increases with n and the computation accuracy decreases with n.