chapter  73
A numerical method of harmonic analysis
Pages 7

However, irregular waveforms are not usually defined by mathematical expressions and thus the Fourier coefficients cannot be determined by using calculus. In these cases, approximate methods, such as the trapezoidal rule, can be used to evaluate the Fourier coefficients.