Question: how to calculate phase difference of a wave?
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.