To find the distance between two points, we can use the distance formula: d = sqrt((x2 - x1)^2 + (y2 - y1)^2). Using the coordinates of p(20,5) and q(27,8), we can substitute these values into the formula to get d(p,q) = sqrt((27 - 20)^2 + (8 - 5)^2). Simplifying this gives us d(p,q) = sqrt(49 + 9) = sqrt(58).
To find the coordinates of the midpoint, we can use the midpoint formula: m = ( (x1 + x2) / 2, (y1 + y2) / 2 ). Substituting the values of p(20,5) and q(27,8) into the formula gives us m = ( (20 + 27) / 2, (5 + 8) / 2 ). Simplifying this gives us m = (23.5, 6.5).
Learn more about Coordinates