By Kardi Teknomo, PhD .

< Previous | Next | Content >

You can use the bottom up approach in MS Excel by calculating Continued Fraction , then Continued Fraction , then copy from Continued Fraction to 1 and the final result is Continued Fraction

For example of bottom up approach, see section how do we compute continued fraction . To use MS Excel, download the MS Excel sheet companion of this tutorial

Another better approach is using top down approach where the continued fraction is expressed as ratio of two difference equations

Continued Fraction

Where

Continued Fraction , Continued Fraction with two alternative initial conditions

  1. Continued Fraction , Continued Fraction , Continued Fraction , Continued Fraction and the difference equation work for Continued Fraction , or
  2. alternatively, we can use dummy variables Continued Fraction , Continued Fraction , Continued Fraction , Continued Fraction , and the difference equation work for Continued Fraction

The two-difference equations actually produce the same sequence for Continued Fraction

Example:

To compute Continued Fraction using top down approach we can use the first initial conditions and produce

Continued Fraction

Using the second initial condition, we obtain the same results

Continued Fraction

See the MS Excel sheet companion of this tutorial and you can try any sequence of continued fraction numbers.

< Previous | Next | Content >

This tutorial is copyrighted .

Preferable reference for this tutorial is

Teknomo, Kardi (2015) Continued Fraction. http://people.revoledu.com/kardi/tutorial/ContinuedFraction/index.html