The distance between two points can be calculated using the following formula:
distance = sqrt [ (x2-x1)^2 + (y2-y1)^2]
Now, we are given the two points (5,4) and (1,-2)
Substitute with the given points in the above equation to get the distance as follows:
distance = sqrt [(1-5)^2 + (-2-4)^2]
distance = sqrt [16+36] = sqrt[52]
distance = 2√13 = 7.2111 units