# Recover general formula for fourier series?

Hi,

Is there a way to recover the general formula for a fourier series? That is, f.fourier_series_sine_coefficient(9,pi) will give me the 9th sine coefficient, but I'd like to know more generally how I can construct the Nth sine coefficient.

I'm doing some complicated (to me) fourier series, and I'm having trouble figuring out the formula for the Nth.

Thanks for any help.

Andrew

Can you explain what you mean by that? Generally the coefficients of the fourier series are not related to one another. One can write a expression for the nth coefficient only in special cases, and I am not sure there is a way of identifying whether a given formula falls in that category.

It may be a poor question then .. my frame of reference is the typical fourier series for periodic functions found on-line (square, triangle, saw), which all seem to reduce to nice clean equations for the nth coefficient. I didn't realize most would not behave so nicely .. though, I don't feel so bad now for scratching my head about the more complex function for which I was trying to generate a series .. smile. Thanks for the input/answer.