I am in economic, first day a novice in Monte Carlo even both, today my stranger friend give me a sample to finding pi area using Random Sample where area of circle divided by area of square
my question is:
Why the sample should be and always use pi in the area of square of box. Could i change the pi function with supply and Demand function or any economic functions?
If the the pi function in monte carlo always use box square as the exterior, Is it possible without the square to calculate the pi as interior?
I'm afraid I don't understand your first question fully, so I'll skip that. But as for your second, any shape with a known area is fine. You can use a 4657-gon for all it matters, as long as you know the area. Obviously, if you use a 4657-gon, you're gonna have a pretty hard time determining which points are in and out of the inside shape. Essentially, for your situation, if you can stick a circle in it, it's fine.