Thursday, October 15, 2015

Euclidean Distance

Problem:



Solution:

The formula is correct for computing Euclidean distance between the points (-6, 2) and (-4, -10)

The value can be computed as follow:

$ d = \sqrt{(-6-4)^2 + (2 - 10)^2} $
$ d = \sqrt{(-10)^2 + (-8)^2} $
$ d = \sqrt{100 + 64} $
$ d = \sqrt{164} $
$ d = \sqrt{4 \times 41} $
$ d = 2 \sqrt{41} = 6.403124237432849 $

No comments:

Post a Comment