The fourier coefficients for a  sampled function and approximating fourier coefficient integral by considering  a number of rectangles of height fm and width h

The fourier coefficients for a sampled function and approximating fourier coefficient integral by considering a number of rectangles of height fm and width h