In first situation, a police car (source of sound) with a speed vs, is approaching a motorcycle ( observer), which is moving away from police car with a speed of vm. Therefore apparent frequency of sound heard by motorcyclist,
n′=ncar(v−vmv−vs)
In second situation, motorcyclist (observer) is approaching a stationary siren (source), with a speed of vm. Therefore apparent frequency of sound heard by motorcyclist, n′′=nsiren(v+vmv)
Now as no beats are observed by motorcyclist, this is possible only when difference in frequencies heard by motorcyclist is zero, i.e. n′−n′′=0, or n′=n′′,
or ncar(v−vmv−vs)=nsiren(v+vmv)
Given n′=176 Hz, n′′=165 Hz, v= 330m/s, vs=22 m/s,ncar=176 Hz and nsiren=165 Hz
Hence,
176(v−vm330−22)=165(v+vm330)
(v−vmv+vm)=165176×308330=7/8
15vm=v
Speed of sound in air v=330 m/s
vm=330/15=22 m/s