This paper develops a method of analyzing average value of a complex-valued function that can be represented as a Fourier series satisfying a few realistic restrictions. This method may be useful when Discrete Fourier transform is highly inefficient, and comparison with Hodrick-Prescott filter...