Enrichment · STEM Explorations · Number theory
Take the whole part of a number, flip what is left over, and repeat: that is a continued fraction. Type a decimal and see the first five terms and the fraction each one gives, closer and closer to the number.
The worked example is 3.1415926536, whose terms are 3, 7, 15, 1 and 292. Nothing you type leaves this browser.
Loading the calculator. If nothing appears, turn on JavaScript.
Ten decimal places work well. The example is made up.
Enrichment · STEM ExplorationsOpen to everyone · no sign-in
Take the whole part, flip the rest, repeat; then build fractions from the whole parts.
The fourth term of pi's expansion is 292, a large number. A large term means the fraction just before it is a very good approximation for its size. That is why 355/113 is correct to six decimal places with such a small denominator.
A number typed with eight places stands for a nearby fraction, so its expansion eventually departs from the true number. The first terms still match.
A calculation from the decimal typed, in ordinary decimal arithmetic. The worked example is made up. Your entries stay in this browser. Support: team@caveatacademic.com.