News for hackers. Stuff that matters.
Re:Show HN: Pi Approximation using Monte Carlo by jacquesm on Sunday August 10, 2014 @04:27AM (#8159201)
I think there is some value to this method, but it may not be readily apparent in the present context. If you have a problem that you don't yet have a firm theoretical handle on you can figure out a baseline value for the answer using this technique, and then work backwards to give you the formula that allows you to arrive at the real answer.

I use that trick a lot, for instance with Euler problem 307 I could not find the answer easily in an analytical way, did the simulation, found an approximate answer (to within 6 decimal places or so), used that to figure out what I was doing wrong and then computed the real answer.

Some may see that as cheating, but it works wonders and not just on that particular problem.

Re:Show HN: Pi Approximation using Monte Carlo by wfunction on Sunday August 10, 2014 @04:44AM (#8159235)
I've done that too, and I think there's nothing wrong with that. All I'm saying is people should stop calling it Monte Carlo once they've found the correct solution and realized it has nothing to do with randomness.