title: Plot math function f(x) with varying values of x and for different values of n
body: <pre><code>import matplotlib.pyplot as plt
  import matplotlib.pyplot as plt
  
  for i in range(0,100,10):
      function = (1/2) + (2/3.14) * (sin(2*(i)+1)x)/(2*(i)+1)
  plt.plot(function) 
  </code></pre>
  
  <p>I have a function <code>:fN(x) = (1/2) + (2/pi) * (sin[(2n+1)x])/(2n+1)</code> and I need to plot it for values of </p>
  
  <pre><code>n= 0, 10 ,20,...., 100.
  </code></pre>
  
  <p>Please help, I have not used python for a long time.
  thank you.</p>
  
  <p>.</p>