October 25th, 2009
In which we observe Giant Anteater taking his pet salvador dali for a walk.
PiCalc v2
So you remember I made that program to calculate pi by doing numerical approximation of a bunch of secants on a unit circle? Well, I made another one. This time, I used tangent lines (outside the circle) as well as secants (inside). Then I averaged the two together to get a better approximation of pi.
( Collapse )