A stationary source of sound is emitting sound of frequency 500Hz. Two observers A and B lying on the same line as the source