Figure 2: Two sinusoidal curves corresponding to points P1 and P2.