print convergents of continued fraction - Maple Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Mathematics : Numerical Computations : Approximations : Continued Fractions : convergs

convergs - print convergents of continued fraction

Calling Sequence

convergs(listA, listB, n)




list of numbers, or a function



(optional) list of numbers



(optional) integer



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.

See Also

convert, convert/confrac

Download Help Document

Was this information helpful?

Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam