Plotting a summation with 3 variables.

58 Views Asked by At

How would one convert the following into a graph (programmatically):

$$ \sum_{n=0}^{\infty} \frac{\left(-x^{2}\right)^{n}}{n !^{2 s}} $$

... given that only the n is being varied by the summation sign?

Would it makes sense to hold the x and s constant while varying only the n, or must the x, n and s all be varied simultaneously (say using Python to generate the plot).