Explanation:
According to Doppler effect:
1) When the source of the frequency is approaching, The apparent frequency heard by the observer will be more than that of the actual frequency.
[tex]f'=\frac{v}{v -v_s}\times f[/tex]
2) When the source of the frequency is moving away, The apparent frequency heard by the observer will be less than that of the actual frequency.
[tex]f'=\frac{v}{v+v_s}[/tex]
f = Real frequency of the source
f' = apparent frequency heard by the observer
v = velocity of the sound
[tex]v_s[/tex] = velocity of the source