convergs - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


convergs

print convergents of continued fraction

 

Calling Sequence

Parameters

Description

Calling Sequence

convergs(listA, listB, n)

Parameters

listA

-

list of numbers, or a function

listB

-

(optional) list of numbers

n

-

(optional) integer

Description

• 

The convergs function takes the continued fraction

a1+b2(a2+b3(a3+b4(a4+...

  

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