print convergents of continued fraction
convergs(listA, listB, n)
list of numbers, or a function
(optional) list of numbers
The convergs function takes the continued fraction
and prints the successive convergents in the form n, nth convergent. The function convergs returns NULL.
listA is of the form [a1,a2,...] and similarly listB is of the form [1,b2,b3,...] where aI and bI correspond to the values in the displayed continued fraction.
If listB is of the form [1,1,1,...] convergs may be omitted.
If a third argument n is present, convergs indicates the number of convergents to compute.
Download Help Document
What kind of issue would you like to report? (Optional)