A car moves towards a hill with speed vc. It blows a horn of frequency f which is heard by an observer following the car with speed v0. The speed of sound in air is v. Sound is reflected from the hill. Then:
Frequency of sound reaching the hill, f′ = vv−vcf
So wavelength of sound reaching the hill = v−vcf
Frequency of sound directly heard by observer,f′′′ = v+vov+vcf
Wavelength of sound directly reaching observed = v+vcv+vovf
Frequency of sound observed after refection from hill, f'' = v+vovf′=v+vov−vcf
So beat frequency = |f′′′−f′′|=2vcf(vo+v)v2−v2c