I'm trying to get a plot of different order Fourier series of the function x-1, why does Mathematica give me an empty plot?
f[x_, N_] := FourierSinSeries[x-1, x, N]
Plot[{f[x, 1], f[x, 5]}, {x, 0, 3}]
Executing f[x,1] and f[x,5] do give me valid functions. A workaround is:
f1=f[x,1]
f5=f[x,5]
Plot[{f1,f5},{x,0,3}]
Why does it only work that way?
N
as a variable, since that symbol has a built-in meaning. $\endgroup$