The equation of the displacement of two particles making SHM are represented by y1=a sin(ωt+ϕ) & y2=acos(ωt). Phase differencebetween velocities of two particles is
π2+ϕ
−ϕ
ϕ
ϕ−π2
v1=dy1dt=aωcos(ωt+φ)v2=dy2dt=−aωsin(ωt);Δϕ=ϕ−π2