sqrt((x1 - x2)2 + (y1 - y2)2) code example Example 1: sqrt(x) = 2 sqrt(x) = a x = a^2 Example 2: sqrt(14^2+5^2) sqrt(14^2+5^2) =~ 14.866