The Average Distance Between Points on a Square - Monte Carlo Simulation Skip to main content

Divisibility Calculator

Enter two numbers to check if the first number is divisible by the second number: Check

The Average Distance Between Points on a Square - Monte Carlo Simulation

It is \( \frac{2 + \sqrt{2}}{15} + \frac{\ln \left ( 1 + \sqrt{2} \right )}{3} \), approximately 0.52140543316472067833. Watch here to see why.

This simulation randomly picks arbitrarily many pairs of points in \( \left [ 0,1 \right ] ^ 2 \), then calculates each pair's distance, and finally calculates the average.



Add

pairs of points


Comments

Popular posts from this blog

Arg(x/y) = Arg(x) - Arg(y)

  It is easy to see that \( \mathrm{arg} \left ( \frac{a}{b} \right ) = \mathrm{arg} \left ( a \right )  - \mathrm{arg} \left ( b \right )  \) for any complex number \( a \) and \( b \). But, this is not the case for the principle value that is \( \mathrm{Arg} \) does not always equal to \( \mathrm{Arg} \left ( a \right ) - \mathrm{Arg} \left ( b \right )  \).