The question is how many harmonic do you need? So you can plot the function with 2, 3, 4, ... and see how many harmonic will give you a reasonable approximation. You need to decide what is a good approximation first.