Online Solver for Continued Fraction Representation
|
|
URI:
|
http://herbert.gandraxa.com/herbert/cfr.asp
|
|
Link template:
|
<a href="http://herbert.gandraxa.com/herbert/cfr.asp">Online Solver for Continued Fraction Representation</a>
|
|
|
Link symbols:
|
On current page |
On this site |
On external site |
Wikipedia article |
ZIP archive |
PDF |
E-Mail
|
Article
Organization
Home »
Online Tools »
Online Solver for Continued Fraction Representation
Scope
This tool calculates the continued fraction representation of a real number or a fraction. As a by-product, the GCD is provided.
Author
Herbert Glarner
Published
2007-Oct-25
2007-Oct-31 Replaced decimal evaluation with Euclidean algorithm for better accuracy; allowing fractions as an input; outputting the GCD of the two involved fractions, which is obtained as a byproduct of the solving process
External Links
Entering the Value
Enter the real value you wish to display as a continued fraction, then click on the button. Use the decimal point "." as the decimal delimiter.
Example: Enter the real number 7.248 and click on the button. The tool will then
- give the continued fraction of the number (ex.: [7; 4, 31]);
- represent the continued fraction in classical form (ex.: 7+(1/4+(1/31)));
- return the simplest fraction (ex.: 7+31/125).
For the above, the needed math is displayed step by step.
For a longer continued fraction, try for example 0.457365544; however, due to machine limitations your input is restricted to 12 significant digits.
You may also enter a fraction in the form "Numerator / Denominator", e.g.: 173/390.
Should you notice an error, it would be very kind of you to tell me what number caused a such: my mail address can be found above.
After clicking on the button, this page will be displayed again, with the mathematics explained in the next subsection.
Solving
Please enter a real or a fraction.