News for hackers. Stuff that matters.
Re:π does not equal 4 by extension on Sunday November 21, 2010 @11:11AM (#1927255)
In a similar way, you can "prove" that sqrt(2) = 2 by approximating the diagonal of a unit square (length = sqrt(2)) by iteratively dividing two adjacent edges of the square (length = 2).

One interesting and useless law that this reveals is that the perimiter of any convex blob of pixels is equal to the perimiter of its bounding rectangle.

Re:π does not equal 4 by evandijk70 on Monday November 22, 2010 @07:52AM (#1929592)
In fact, just a few days ago, I discovered this law while working on my master's thesis. I'm modelling cells in a Monte Carlo model on a square grid, and I needed the contact area with other cells. The contact area seemed to be to large on diagonal interfaces. After thinking about it a bit, I found the problem, and I started using a different measure for contact area.