Respuesta :

The length of line segment is the horizontal distance between two points

Suppose

a line has endpoints

  • (x-1,y1)
  • (x2,Y2)

The length of the line is

  • √(x_1-x_2)²+(y_1-y_2)²