Griffin and Jacob projects

Griffin's paint GUI
New pi
Wallis product
JAWWP
Doors

 

Griffin's paint GUI

See attached paint_modified2.txt, BlitzBasic work-in-progress. (Note: Change the extension from .txt to .bb before compiling.)

New pi

Griffin's program that calculates an estimate of pi from strange iterative algorithm (name and source unknown):

New_pi.zip (souce and executable)

New_pi.bb

 

Wallis product

Griffin's program that calculates the first terms of the infinite Wallis product to find an approximation of Pi:

Pi/2 = 2 * 2 * 3 * 3 * 4 * 4 ...
1 3 3 4 4 5 ...

As the terms get very large, rounding errors due to dividing large integers causes the approximation to drift away from the true limiting value of the product. The rounding errors result from limited precision of the standard computer representation of real numbers.

This version finds the products through the first 100,000,000 terms. The approximation is most precise somewhere near the 50,000th term. This indicates that the computer representation of real numbers is only precise to a bit less than 16 bits (216 ~= 65,000), corresponding to the 5th decimal point (10-5, or 1/100,000) of Pi.

Wallis Product screenshot, link to
Full output screenshot


See attached Wallis_product.zip (Executable and source code [BlitzBasic])
See attached Wallis_product.txt, BlitzBasic. (Note: Change the extension from .txt to .bb before compiling.)

 

JAAWPP

A typing program by Jacob. See the attached file apro.txt, BlitzBasic. (Note: Change the extension from .txt to .bb before compiling.)

 

Doors, a project and game product development site

 

 

 

AttachmentSize
apro.txt718 bytes
Wallis_product.zip430.1 KB
Wallis_product.txt2.71 KB
New_pi.zip428.28 KB
New_pi.txt628 bytes
paint_modified2.txt3.26 KB

Comments

Post new comment

Security question, designed to stop automated spam bots