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:(adsbygoogle = window.adsbygoogle || []).push({});

$$\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.

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Mathematica How to plot several terms in a Fourier series

Have something to add?

Draft saved
Draft deleted

Loading...

Similar Threads - plot several terms | Date |
---|---|

Plot a stereographic hypercube in a Mac's Grapher.app? | Saturday at 8:22 AM |

Mathematica Errors when plotting but not when evaluating | Mar 13, 2018 |

Mathematica Color Contour Plots | Mar 8, 2018 |

Mathematica Taking forever to plot | Feb 27, 2018 |

Mathematica plotting several functions | Jun 27, 2012 |

**Physics Forums - The Fusion of Science and Community**