Question: how to measure phase difference between two waves?
Answer: The phase shift equation is ps = 360 * td / p, where ps is the phase shift in degrees, td is the time difference between waves and p is the wave period. Continuing the example, 360 * -0.001 / 0.01 gives a phase shift of -36 degrees.