Analysis of the Doppler Effect