Something is probably wrong if you run the simulation many times and get pi=2. What are you using as random numbers?
I got 3.08 for 100 random dots in a square type simulation, but this is by chance. If you run it again it varies (expected as your input is supposed to be a random variable).
Not sure why you'd expect the two monte carlo simulations to have similar speeds. They are very different in most aspects. You can analyse how fast they converge (variance, estimation error etc) but apples and oranges.
As for running these things for a billion simluations, that might be a bit spurious. You'd need to make sure you're using a suitable random generator that can generate enough random values. Most generators repeat after a while.
Last edited by a moderator: Nov 6, 2012