I have this code
f[x_, n_] := Sum[ComplexExpand@Abs[Sin[x + k]], {k, 0, n}] Plot[Table[f[x, n], {n, 0, 5}], {x, -Pi, Pi}]
but the graph is all of the same color instead of color differently each function. How I can change this? Thank you.
Plot[Evaluate@Table[f[x, n], {n, 0, 5}], {x, -Pi, Pi}]
Plot[Evaluate@Table[f[x, n], {n, 0, 5}], {x, -Pi, Pi}]– zhk Mar 12 '17 at 16:54