You are not logged in.
Pages: 1
The blogger "ridiculous fish" has implemented a very novel approach to cutting out comment spam (and much better than the "distorted image" method). I thought it was both interesting and cool. Have a look:
http://ridiculousfish.com/blog/?p=23
Last edited by ryos (2006-04-23 15:04:19)
El que pega primero pega dos veces.
Offline
So far they have:
* 1359 / 2475 pairs were relatively prime.
* pi is approximately 3.30562434615
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
Pretty interesting.
IPBLE: Increasing Performance By Lowering Expectations.
Offline
Here's a Mathematica fuction which makes n tests with numbers less than b:
PPr[n_, b_] :=
(
c = 0;
Do[If[GCD[Random[Integer, {1, b}], Random[Integer, {1, b}]] == 1, c++;], {i, 1, n}];
c/n
)
6/pi^2=0.607927
As you see, this method is unusable, because for approximately 3 digits of 6/pi^2 you need >10^6 tests.
IPBLE: Increasing Performance By Lowering Expectations.
Offline
well, one million comments, that's not that much
He's just trying to make a laugh of spam (but ruining his fun is great too )
Support MathsIsFun.com by clicking on the banners.
What music do I listen to? Clicky click
Offline
Good work, krassi!
Another (of the many) ways to calculate π would be to pick a random coordinate in a square, then see if it falls within the inscribed circle (using x²+y²=r²).
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman
Offline
Pages: 1