For people playing along at home: generate random pairs (x,y) with x, y in [0,1]. Compute fraction s.t. x^2 + y^2 <= 1. Multiply by 4.
-
-
Replying to @othercriteria
@othercriteria Yeah, I know there are tons of tricks. But that's what I knew off the top of my head, also 140 characters2 replies 0 retweets 1 like -
-
Replying to @othercriteria
@St_Rev So you can throw out the random numbers entirely or do something silly with them like take their maximum...1 reply 0 retweets 0 likes
Replying to @othercriteria
@othercriteria Which reduces it to the original dumb answer I linked
9:43 PM - 20 Jan 2016
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
. Banned in Sweden. SubGenius, Zhuangist, white-hat troll. Defrocked mathematician. Brain problems.