Computational physics

A point is sampled uniformly from a rectangle of area A that contains the region under a nonnegative curve. In a hit-or-miss estimate of the area under the curve, what information from each point is averaged?