HTBasic Help
×
Menu
Index
S_jhn
Spherical Bessel function of the first kind, order n+½.
 
Loading        LOADSUB ALL FROM "BESRC.HTS"
or LOADSUB FROM "MATHLIB.HTS"
 
Usage                INTEGER N
REAL X,Y
Y=FNS_jhn(N,X)
 
Description                
FNS_jhn returns the value of the spherical Bessel function of the first kind and order n+½ of x, jn+½(x). Jn+½(x) is defined for all values of n and for all positive values of x. If n is positive or zero, jn+½(x) is also defined for x = 0.
 
Errors                
FNS_jhn causes an HTBasic error if its arguments are not of the types shown in the USAGE section, above, or if x is out of the range of definition explained above.
 
See Also
S_jn, S_yh1n, S_hh1n, S_hh2n, S_yhn
 
jn+½(x)
Note
The algorithm used computes the value of jn+½ using a recursion from the values of j½ and j1½. The computation time increases with n and the computation accuracy decreases with n.