sqrt((x1 - x2)^2 + (y1-y2)^2) code example Example 1: sqrt(2)^2 Click to copysqrt(a)^2 = a Example 2: sqrt(x) = 2 Click to copysqrt(x) = a x = a^2