Write a function which, when supplied with the REAL coordinates of two points (x1,y1) and (x2,y2), calculates the distance between the points.
Recall that the distance d between the two points is given by the formula

Test your function in a short program to check that it works correctly with several different sets of data.
Homework
There is no homework with this lesson.
Hamlet Project