- #1
rmiller70015
- 110
- 1
I was given a function that is periodic about 2π and I need to plot it. I was wondering if there is a way to input a value and have mathematica generate a new graph with the number of iterations. The function is:
$$\sum_{n=1}^{N}\frac{sin(nx)}{n}$$ where n is an odd integer. I guess a better way to express the function is
$$\sum_{k=0}^{N}\frac{sin((2k+1)x)}{2k+1}$$
So far I've only used mathematica to plot simple functions and solve ODE's so I'm not quite sure how to approach this.
$$\sum_{n=1}^{N}\frac{sin(nx)}{n}$$ where n is an odd integer. I guess a better way to express the function is
$$\sum_{k=0}^{N}\frac{sin((2k+1)x)}{2k+1}$$
So far I've only used mathematica to plot simple functions and solve ODE's so I'm not quite sure how to approach this.