You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Monte Carlo integration estimates the average value of a function by sampling inputs uniformly (randomly probing) and averaging outputs (heights).
730
+
731
+
Since `U` is uniform over `[0,1]`, sampling `g(U)` evaluates the function at uniformly distributed points. Averaging these values approximates the expected value `E[g(U)]`, which equals the integral. Because the interval has length 1, this expectation represents the average height of the function, which is equal to the area under the curve.
732
+
733
+
Law of Large Numbers: As the number of independent random samples increases, the sample average converges to the true expected value (population mean).
0 commit comments