0

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.

Masacroso
  • 1,107
  • 5
  • 13

0 Answers0