Loading text...
import math x1, y1 = 2, -3 x2, y2 = 8, 9 dist_sq = (x2 - x1)**2 + (y2 - y1)**2 dist = math.sqrt(dist_sq) print(f"dist_sq: {dist_sq}") print(f"dist: {dist}")
dist_sq: 180 dist: 13.416407864998739
Ask your own question to get a step-by-step verified solution instantly.
Find the distance between (2,−3)(2,-3)(2,−3) and (8,9)(8,9)(8,9)
Result for (8−2)2+(9−(−3))2(8 - 2)^{2} + (9 - (-3))^{2}(8−2)2+(9−(−3))2
Result for 180\sqrt{180}180