HTBasic Help
×
Menu
Index
Qn
LeGendre function of the second kind.
 
Loading        LOADSUB ALL FROM "LEGENDRE.HTS"
or LOADSUB FROM "MATHLIB.HTS"
 
Usage                INTEGER N
REAL X,Y
Y=FNQn(N,X)
 
Description                
FNQn returns the value of the Legendre function of the second kind, degree zero, and order n of x, Qn(x). N must be positive or zero.
 
Errors                
FNQn causes an HTBasic error if its arguments are not of the types listed in the usage section, above, if n is negative, or if the polynomial's absolute value would be larger than MAXREAL, the largest value representable.
 
See Also
Pn, Q1n
 
Qn(x)
Note
For n > 2, the algorithm used computes the value of Qn using a recursion from the values of Q1 and Q2. The computation time increases with n-1 and the computation accuracy decreases with n-1.