Doppler effect formula for observed frequency