Two simple harmonic motions A and B are given respectively by y1=asin(ωt+π/6)