An ag(e)ing hacker - posts tagged as "pi"

Luca Saiu's blog

Posts tagged as "pi" (2 posts)
Atom feed for tag pi Feeds for "pi" posts: Atom 1.0, RSS 2.0.
Happy pi Approximation Day 20142014-07-22 00:10
Updated: 2015-01-23 22:59
It’s 22/7 again. Last year on pi Approximation Day I published a simple Forth program based on an intuitive geometrical idea: see Happy pi approximation day 2013 (<http://ageinghacker.net/blog/posts/13>). I’ve been thinking about what to do in 2014 for some time, without finding anything as nice from the programming point of view. Sure, you can find series and continued fractions converging to pi, even rapidly; these methods work, but the corresponding programs are trivial to code and don’t provide any insight. So I chose another route: a practical experiment to approximate pi by cutting and weighing metal. The result turned out [...] Read more
Tags: english, experiment, gnu, guile, hacking, pi, science

Happy pi approximation day 20132013-07-21 12:34
Updated: 2014-07-21 21:14
The fraction 22/7 has been known since antiquity as a simple rational approximation of pi. The fraction decimal expansion is 3.(142857); since pi is about 3.141592653589793, the approximation has three correct digits. Of course nowadays we can compute much better approximations with computers, and billions of digits are known: <http://en.wikipedia.org/wiki/Approximationsofπ> is a nice review also explaining some efficient computation methods. For example if you want to obtain a lot of pi digits in a short time you may like the series by Ramanujan, yielding very good approximations even with a small number of terms; but that’s not the point now. [...] Read more
Tags: forth, gnu, hacking, pi, tutorial

Posts tagged as "pi" (2 posts)

Go to the main index...
Atom feed All post feeds: Atom 1.0, RSS 2.0.

[my photo]
Luca Saiu

The opinions I express here are my own and do not necessarily reflect the beliefs or policies of my employer, or for that matter of anyone else. In case you felt that the public statement of my thoughts threatened your warm sense of security and your emotional stability, please feel free to leave at any time.

The system does not support user comments and probably never will. Anyway you can contact me by e-mail if you want to discuss some topic with me. I might update my posts if you provide interesting insights.


Copyright © 2009, 2011, 2012, 2013, 2014, 2017 Luca Saiu
Verbatim copying and redistribution of this entire page are permitted in any medium without royalties, provided this notice is preserved.
This page was generated by trivialblog. trivialblog is free software, available under the GNU GPL.
Tag icon copyright information is available in this file.