Question: how to calculate the phase difference of waves?
Answer: Dividing the frequency into 1 gives the period, or duration of each cycle, so 1/100 gives a period of 0.01 seconds. 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.