Distance between two points in two dimensional coordinate plane is given by:
As, Converse of Pythagorean theorem states that if sum of squares of any two adjacent sides in a triangle is equal to Square of length of third side, then the triangle is right angled triangle.