I was looking at the expected output of an algorithm and translated it into this equivalent problem:
Consider $n$ points sampled uniformly from $[-1,1]^2$ and let $A=\frac{4Z}{n}$ where $Z$ is how many of these $n$ points lie within the interior and boundary of the unit circle. Find $\mathbb{E}[A]$.
I tried running the algorithm but I fail to recognize if the output value is approximating a familiar number. How does one compute for this expected value?