Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica >

FromContinuedFraction

FromContinuedFraction[list]
reconstructs a number from the list of its continued fraction terms.
  • The can be symbolic. »
  • FromContinuedFraction returns the exact number whose continued fraction terms start with the , then consist of cyclic repetitions of the .
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
Quadratic irrationals (recurring continued fractions):
Symbolic form:
Compare with the division-based form:
Rational approximation to :
Numbers with simple recurring continued fractions:
New in 4
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF