find the distance between the two points (-2,1) and (4,3) using Pythagorean theorem

To find the distance between the two points (-2,1) and (4,3) using the Pythagorean theorem, we use the formula:

d = sqrt((x2 - x1)^2 + (y2 - y1)^2)

where (x1, y1) = (-2,1) and (x2, y2) = (4,3).

Plugging in the values:

d = sqrt((4 - (-2))^2 + (3 - 1)^2)
d = sqrt((6)^2 + (2)^2)
d = sqrt(36 + 4)
d = sqrt(40)
d = 2 sqrt(10)

Therefore, the distance between the two points (-2,1) and (4,3) is 2 sqrt(10) units.