"It is then straightforward to obtain a (not really good) approximation to π by counting how many times, on average, X² + Y² is smaller than 1:"
"It is then straightforward to obtain a (not really good) approximation to $\\pi$ by counting how many times, on average, $X^2 + Y^2$ is smaller than 1:"