This applet is based upon an article from the April 1995 Math Monthly.
It makes use of an elegant representation of Pi, which may be treated like
a sum of fractional terms.
To generate digits, a multiplication by 10 is performed, and the next
digit is plucked off at one end of the chain of terms after performing
all necessary carry-overs from term to term. Back to the
applet compiled for Java 1.2 Virtual Machines.
Since this is an applet, it will run on the computer of the person
viewing this page. Once the parameters are adjusted to obtain a desired
format, the text may by copied and pasted elsewhere. Note: this Java program
does NOT make use of the BigInteger class.
One further note: the width of the applet on this web page is set to 90% of the width of the window. If a smaller or larger text area is desired, simply
resize the browser window and reload the page.