Estimate π and integrals by random sampling
Throw random darts at the unit square. The fraction landing inside the quarter circle approximates its area, π/4, so π ≈ 4 × (inside ÷ total).