Here is an example of what I am trying to do (a fourier series):
test := `assuming`([int((cos((2*Pi*6)*t/T)+t^2)*cos(2*Pi*n*t/T), t = -(1/2)*T .. (1/2)*T)], [T > 0]);
The result of this is:
I then form the fourier series sum of these coefficients from 1 to N.
The coefficients are composed of two parts:
cos(2*Pi*t*t/T) and 1/2*(-1)^n/n^2/Pi^2*T^3
I would like to write the fourier sum in the following form:
f(6) + sum of g(n) from 1 to N excluding 6
It's this second part I am having trouble generating when I don't want to specify N up front.