The average value of a function f(x) over an interval (a,b) can be approximated as: f(x) = (f(x1) + f(x2) + ... + f(xn))/n, where x1, x2, ..., xn are values in the interval. The Fourier coefficients for a periodic function f(x) are: a0 = (1/π) ∫ f(x) dx an = (2/π) ∫ f(x) cos(nx) dx bn = (2/π) ∫ f(x) sin(nx) dx The Fourier series expansion of