Estimating Pi

Estimating Pi

Take 2 random numbers X and Y between 0 and 1. What's the probability that the integer nearest to X/Y is even?

Posed as a fun way to approximate using probability — let that double up as a hint!

See source (spoiler alert)

super-embed:<div id="hyvor-talk-view"></div><script async defer type="text/javascript" src="//talk.hyvor.com/web-api/embed.js"></script>