<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, fourier series ..can someone explain this to me in more details ? thanks</title>
    <link>http://www.mapleprimes.com/questions/40116-Fourier-Series-can-Someone-Explain</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Fri, 12 Jun 2026 12:50:01 GMT</lastBuildDate>
    <pubDate>Fri, 12 Jun 2026 12:50:01 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, fourier series ..can someone explain this to me in more details ? thanks</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, fourier series ..can someone explain this to me in more details ? thanks</title>
      <link>http://www.mapleprimes.com/questions/40116-Fourier-Series-can-Someone-Explain</link>
    </image>
    <item>
      <title>someone help me ...</title>
      <link>http://www.mapleprimes.com/questions/40116-Fourier-Series-can-Someone-Explain?ref=Feed:MaplePrimes:fourier series ..can someone explain this to me in more details ? thanks:Comments#answer73749</link>
      <itunes:summary>Fouriercoeff:=proc(f,n) 
&gt; local k,acoeff,bcoeff,azero:
&gt; 
&gt; acoeff:=seq(evalf(Int(f(x)*cos(k*x),x=-Pi..Pi))/evalf(Pi),k=1..n):
&gt; 
&gt; bcoeff:=seq(evalf(Int(f(x)*sin(k*x),x=-Pi..Pi))/evalf(Pi),k=1..n):
&gt; 
&gt; azero:=evalf(Int(f(x),x=-Pi..Pi))/evalf(2*Pi):
&gt; 
&gt; print("a[n]=",acoeff \n);
&gt; print("b[n]=",bcoeff \n);
&gt; print("a[0]=",azero \n);
&gt; 
&gt; end:


and 

Fouriercoeff:=proc(f) 
&gt; local k,acoeff,bcoeff,azero,n:
&gt; 
&gt; assume(n::integer);
&gt; 
&gt; acoeff:=evalf(Int(f*cos(n*x),x=-Pi..Pi))/evalf(Pi):
&gt; 
&gt; bcoeff:=evalf(Int(f*sin(n*x),x=-Pi..Pi))/evalf(Pi):
&gt; 
&gt; azero:=evalf(Int(f,x=-Pi..Pi))/evalf(2*Pi):
&gt; 
&gt; print("a[n]=",acoeff \n);
&gt; print("b[n]=",bcoeff \n);
&gt; print("a[0]=",azero \n);
&gt; 
&gt; end:

is the best I can do to satisfy that question

someone have any better idea to that questiones ( see exercise 4 and 5 on http://img20.imageshack.us/img20/3518/56351860db7.jpg)  thanks</itunes:summary>
      <description>Fouriercoeff:=proc(f,n) 
&gt; local k,acoeff,bcoeff,azero:
&gt; 
&gt; acoeff:=seq(evalf(Int(f(x)*cos(k*x),x=-Pi..Pi))/evalf(Pi),k=1..n):
&gt; 
&gt; bcoeff:=seq(evalf(Int(f(x)*sin(k*x),x=-Pi..Pi))/evalf(Pi),k=1..n):
&gt; 
&gt; azero:=evalf(Int(f(x),x=-Pi..Pi))/evalf(2*Pi):
&gt; 
&gt; print("a[n]=",acoeff \n);
&gt; print("b[n]=",bcoeff \n);
&gt; print("a[0]=",azero \n);
&gt; 
&gt; end:


and 

Fouriercoeff:=proc(f) 
&gt; local k,acoeff,bcoeff,azero,n:
&gt; 
&gt; assume(n::integer);
&gt; 
&gt; acoeff:=evalf(Int(f*cos(n*x),x=-Pi..Pi))/evalf(Pi):
&gt; 
&gt; bcoeff:=evalf(Int(f*sin(n*x),x=-Pi..Pi))/evalf(Pi):
&gt; 
&gt; azero:=evalf(Int(f,x=-Pi..Pi))/evalf(2*Pi):
&gt; 
&gt; print("a[n]=",acoeff \n);
&gt; print("b[n]=",bcoeff \n);
&gt; print("a[0]=",azero \n);
&gt; 
&gt; end:

is the best I can do to satisfy that question

someone have any better idea to that questiones ( see exercise 4 and 5 on http://img20.imageshack.us/img20/3518/56351860db7.jpg)  thanks</description>
      <guid>73749</guid>
      <pubDate>Sat, 02 Feb 2008 01:13:13 Z</pubDate>
      <itunes:author>casperyc</itunes:author>
      <author>casperyc</author>
    </item>
    <item>
      <title>Fourier series</title>
      <link>http://www.mapleprimes.com/questions/40116-Fourier-Series-can-Someone-Explain?ref=Feed:MaplePrimes:fourier series ..can someone explain this to me in more details ? thanks:Comments#answer73739</link>
      <itunes:summary>&lt;p&gt;Concerning Exercise 4: You can define the following procedure:&lt;/p&gt;
&lt;pre&gt;
Fouriercoeff := proc(f::algebraic,numTerms::posint)
   1/Pi*int(f,x=-Pi..Pi),
   seq([
      seq(1/Pi*int(f*F(k*x),x=-Pi..Pi),k=1..numTerms)
   ],F in [cos,sin])
end proc:
&lt;/pre&gt;
&lt;p&gt;It is used as follows:&lt;/p&gt;
&lt;pre&gt;
a0,a,b := Fouriercoeff(x^2,10);
&lt;/pre&gt;
&lt;p&gt;Note that besides the function &lt;code&gt;f&lt;/code&gt;, the procedure must be provided also a positive integer &lt;code&gt;numTerms&lt;/code&gt; specifying the number of terms in the returned lists of Fourier coefficients.&lt;/p&gt;
&lt;p&gt;Concerning Exercise 5: Using the above, define the expression:&lt;/p&gt;
&lt;pre&gt;
expr := a0/2
	+ add(a[i]*cos(i*x),i=1..nops(a))
	+ add(b[i]*cos(i*x),i=1..nops(b));
&lt;/pre&gt;
&lt;p&gt;From that expression it can be seen that the appropiate value is &lt;code&gt;x = Pi&lt;/code&gt;, from which one can obtain for the famous Euler sum the value &lt;code&gt;Pi^2/6&lt;/code&gt;.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Concerning Exercise 4: You can define the following procedure:&lt;/p&gt;
&lt;pre&gt;
Fouriercoeff := proc(f::algebraic,numTerms::posint)
   1/Pi*int(f,x=-Pi..Pi),
   seq([
      seq(1/Pi*int(f*F(k*x),x=-Pi..Pi),k=1..numTerms)
   ],F in [cos,sin])
end proc:
&lt;/pre&gt;
&lt;p&gt;It is used as follows:&lt;/p&gt;
&lt;pre&gt;
a0,a,b := Fouriercoeff(x^2,10);
&lt;/pre&gt;
&lt;p&gt;Note that besides the function &lt;code&gt;f&lt;/code&gt;, the procedure must be provided also a positive integer &lt;code&gt;numTerms&lt;/code&gt; specifying the number of terms in the returned lists of Fourier coefficients.&lt;/p&gt;
&lt;p&gt;Concerning Exercise 5: Using the above, define the expression:&lt;/p&gt;
&lt;pre&gt;
expr := a0/2
	+ add(a[i]*cos(i*x),i=1..nops(a))
	+ add(b[i]*cos(i*x),i=1..nops(b));
&lt;/pre&gt;
&lt;p&gt;From that expression it can be seen that the appropiate value is &lt;code&gt;x = Pi&lt;/code&gt;, from which one can obtain for the famous Euler sum the value &lt;code&gt;Pi^2/6&lt;/code&gt;.&lt;/p&gt;</description>
      <guid>73739</guid>
      <pubDate>Sat, 02 Feb 2008 18:58:52 Z</pubDate>
      <itunes:author>John Fredsted</itunes:author>
      <author>John Fredsted</author>
    </item>
    <item>
      <title>some assumption on n?</title>
      <link>http://www.mapleprimes.com/questions/40116-Fourier-Series-can-Someone-Explain?ref=Feed:MaplePrimes:fourier series ..can someone explain this to me in more details ? thanks:Comments#answer73723</link>
      <itunes:summary>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have changed this row in your code to get a simplified formula:&lt;/p&gt;
&lt;p&gt;seq(1/Pi*int(f*F(n*x),x=-Pi..Pi),F in [cos,sin]) assuming n::posint&lt;br /&gt;
&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;
a0,an,bn := Fouriercoeff(x^2);&lt;/pre&gt;
&lt;p&gt;a0, an, bn := 2/3*Pi^2, 4/n^2*(-1)^n, 0&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have changed this row in your code to get a simplified formula:&lt;/p&gt;
&lt;p&gt;seq(1/Pi*int(f*F(n*x),x=-Pi..Pi),F in [cos,sin]) assuming n::posint&lt;br /&gt;
&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;
a0,an,bn := Fouriercoeff(x^2);&lt;/pre&gt;
&lt;p&gt;a0, an, bn := 2/3*Pi^2, 4/n^2*(-1)^n, 0&lt;/p&gt;</description>
      <guid>73723</guid>
      <pubDate>Sun, 03 Feb 2008 13:03:32 Z</pubDate>
      <itunes:author>djc</itunes:author>
      <author>djc</author>
    </item>
    <item>
      <title>Nice</title>
      <link>http://www.mapleprimes.com/questions/40116-Fourier-Series-can-Someone-Explain?ref=Feed:MaplePrimes:fourier series ..can someone explain this to me in more details ? thanks:Comments#comment84287</link>
      <itunes:summary>&lt;p&gt;Thanks for that significant improvement.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Thanks for that significant improvement.&lt;/p&gt;</description>
      <guid>84287</guid>
      <pubDate>Sun, 03 Feb 2008 13:43:05 Z</pubDate>
      <itunes:author>John Fredsted</itunes:author>
      <author>John Fredsted</author>
    </item>
    <item>
      <title>thank you all very much</title>
      <link>http://www.mapleprimes.com/questions/40116-Fourier-Series-can-Someone-Explain?ref=Feed:MaplePrimes:fourier series ..can someone explain this to me in more details ? thanks:Comments#comment84286</link>
      <itunes:summary>this looks much better!
cheers
chen</itunes:summary>
      <description>this looks much better!
cheers
chen</description>
      <guid>84286</guid>
      <pubDate>Sun, 03 Feb 2008 19:15:17 Z</pubDate>
      <itunes:author>casperyc</itunes:author>
      <author>casperyc</author>
    </item>
    <item>
      <title>only one input is allowed</title>
      <link>http://www.mapleprimes.com/questions/40116-Fourier-Series-can-Someone-Explain?ref=Feed:MaplePrimes:fourier series ..can someone explain this to me in more details ? thanks:Comments#comment84291</link>
      <itunes:summary>Fouriercoeff(x^2,10);
it still has two inputs...
according to the question.it says i have to assume n to be integer in order to simplify as far as possible.i have no idea how to do that</itunes:summary>
      <description>Fouriercoeff(x^2,10);
it still has two inputs...
according to the question.it says i have to assume n to be integer in order to simplify as far as possible.i have no idea how to do that</description>
      <guid>84291</guid>
      <pubDate>Sun, 03 Feb 2008 00:03:04 Z</pubDate>
      <itunes:author>casperyc</itunes:author>
      <author>casperyc</author>
    </item>
  </channel>
</rss>