According to quantum mechanics, particles are accompanied by waves. The idea of wave packet to represent the wave particle duality is mathematically adequate. We can perform Fourier transform to the wave packet to extracted the principle frequency of the wave guide (as proposed by De Broglie) in order that the wave function (and the probability function which is the absolute square of the wave function) can be found. Two important questions can be presented here: How can superposition of infinite sine and cosine functions (that are all periodic in time and position) result in a localized function (not repeated) which is the case of particles that is equivalent to the wave packet? And what about the frequency of the wave (that is used for plank's equation E=hf)?