Determine whether the three points P , Q , R are collinear by computing the distances between pairs of points.

Distance from P to Q:
Distance from Q to R:
Distance from P to R:
Are the three points collinear (y/n)?

You can earn partial credit on this problem.