<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, Factor out a common coefficient?</title>
    <link>http://www.mapleprimes.com/questions/42154-Factor-Out-A-Common-Coefficient</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Sat, 13 Jun 2026 18:36:02 GMT</lastBuildDate>
    <pubDate>Sat, 13 Jun 2026 18:36:02 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, Factor out a common coefficient?</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, Factor out a common coefficient?</title>
      <link>http://www.mapleprimes.com/questions/42154-Factor-Out-A-Common-Coefficient</link>
    </image>
    <item>
      <title>Factor</title>
      <link>http://www.mapleprimes.com/questions/42154-Factor-Out-A-Common-Coefficient?ref=Feed:MaplePrimes:Factor out a common coefficient?:Comments#answer78794</link>
      <itunes:summary>You could do something like this:

S := collect(a0+sum(an*cos(n*x*Pi/L),n=1..8),1/Pi);

It is not exactly what you wanted , but I hope it helps.

Later edit.

On reflection, one can improve on the above thus:

Sn := sum(an*cos(n*x*Pi/L),n=1..8):
Sn := algsubs(4/Pi=a,Sn):
Sn := collect(Sn,a): 
Sn := subs(a=(Pi/4),Sn):
S := a0 + Sn;

This is what you asked for, though not in quite the same order. Hope it will be adequate for your purpose.

J. Tarr

</itunes:summary>
      <description>You could do something like this:

S := collect(a0+sum(an*cos(n*x*Pi/L),n=1..8),1/Pi);

It is not exactly what you wanted , but I hope it helps.

Later edit.

On reflection, one can improve on the above thus:

Sn := sum(an*cos(n*x*Pi/L),n=1..8):
Sn := algsubs(4/Pi=a,Sn):
Sn := collect(Sn,a): 
Sn := subs(a=(Pi/4),Sn):
S := a0 + Sn;

This is what you asked for, though not in quite the same order. Hope it will be adequate for your purpose.

J. Tarr

</description>
      <guid>78794</guid>
      <pubDate>Mon, 11 Dec 2006 02:51:53 Z</pubDate>
      <itunes:author>Mariner</itunes:author>
      <author>Mariner</author>
    </item>
  </channel>
</rss>