Summation of Fourier Series Problem: Plotting sm(x) for Multiple m Values

  • Thread starter Thread starter Jamin2112
  • Start date Start date
  • Tags Tags
    Summation
Jamin2112
Messages
973
Reaction score
12

Homework Statement



So, on a Fourier Series problem I came up with

2/3 + (8/π2)∑(1/n2)(-1)ncos(nπx/2)

I'm supposed to Plot sm(x) versus x for m= 5, 10, 20

(m is the index of the summation, which starts at m=1)



Homework Equations



meh


The Attempt at a Solution



The problem is that I don't have a computer program to do this. So I was wondering if someone could give me a link to a site that would do this.
 
Physics news on Phys.org
You might try looking up "gnuplot".
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top