## Finding the area under a curve -- Monte Carlo Methods

## Problem definition

We have already seen a way to use direct numerical integration to determine the value of π by measuring the area of a half of a circle. For this example, we’re going to try to do the same thing, but with a different strategy. This makes use of the following simple observation.