\( \definecolor{colordef}{RGB}{249,49,84} \definecolor{colorprop}{RGB}{18,102,241} \)
We conduct a computer simulation to estimate the value of \(\pi\).
Imagine a square with side length \(2\) (area \(= 4\)) enclosing a circle with radius \(1\) (area \(= \pi\)).We generate \(n\) random points uniformly inside the square. Let \(X_i\) be a random variable such that \(X_i = 1\) if the point falls inside the circle, and \(X_i = 0\) otherwise.
  1. Calculate the theoretical probability \(p\) that a single random point falls inside the circle.
  2. Let \(\overline{X}_n\) be the proportion of points inside the circle after \(n\) trials. According to the Law of Large Numbers, what value does \(\overline{X}_n\) approach as \(n \to \infty\)?
  3. Propose a formula to estimate \(\pi\) using the experimental result \(\overline{X}_n\).

Capture an image of your work. AI teacher feedback takes approximately 10 seconds.