convergs - Maple Programming 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

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

 


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