Report as inappropriate.
Another break from my other project.
The Continued Fraction Algorithm with FractionContainer GUI
-A search for good approximations of irrational numbers (pi, e, 6^0.5, etc.)
Algorithm as learned from my Number Theory course.
See how 22/7 was decided to be a good approximation of pi
Displays the continued fraction expansion and the first 7 convergents.
Hit the "Next" button after "Calculate", then can click through the ListBox to the left.
Uses my evauation code from my Math Wizard scenario:
http://www.greenfoot.org/scenarios/8244
The FractionContainer is a simple extension from my GUI Container class from the following:
And for reusable GUI Components visit:
http://www.greenfoot.org/scenarios/7578
Want to leave a comment? You must first log in.
No votes yet.
No Comments