3:25 PM
I'm new to Mathematica, and am trying to sum up some a function I've defined as so
f[x, k] = 4/Pi * (-4 k)/(1 - k^2)^2 * Cos[k*x]
Plot[Sum[f[x, k], {k, 2, 30}], {x, 0, Pi}]
If I take the body of the function and replace f[x, k] with it in the Sum call, then everything works fine
But when I do it this way, it gives me a blank graph. Could anyone please give some advice as to how I can fix this?