Find the Euclidean distance between (2,5) (4,2)
d(p,q)=√((q1−p1)2+(q2−p2)2+...(qn−pn)2d(p,q) = √((q1-p1)^2 + (q2-p2)^2 + ...(qn-pn)^2d(p,q)=√((q1−p1)2+(q2−p2)2+...(qn−pn)2
q1=2q1 = 2q1=2
q2=5q2 = 5q2=5
p1=4p1 = 4p1=4
p2=2p2 = 2p2=2
=√(((4−2)2+(2−5)2=√(((4−2) ^ 2 +(2−5)^ 2=√(((4−2)2+(2−5)2
=√22+(−3)2=√2 ^ 2 +(−3)^ 2=√22+(−3)2
=√4+9=√4+9=√4+9
=√13= √13=√13
=3.6056= 3.6056=3.6056
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments