<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, Integrating string of real Cos/Sine terms - getting complex result.</title>
    <link>http://www.mapleprimes.com/questions/141031-Integrating-String-Of-Real-CosSine</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Tue, 09 Jun 2026 09:29:28 GMT</lastBuildDate>
    <pubDate>Tue, 09 Jun 2026 09:29:28 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, Integrating string of real Cos/Sine terms - getting complex result.</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, Integrating string of real Cos/Sine terms - getting complex result.</title>
      <link>http://www.mapleprimes.com/questions/141031-Integrating-String-Of-Real-CosSine</link>
    </image>
    <item>
      <title>Indefinite integration</title>
      <link>http://www.mapleprimes.com/questions/141031-Integrating-String-Of-Real-CosSine?ref=Feed:MaplePrimes:Integrating string of real Cos/Sine terms - getting complex result.:Comments#answer141082</link>
      <itunes:summary>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/questions/141031-Integrating-String-Of-Real-CosSine#comment141058"&gt;@argand&lt;/a&gt; Since this is an indefinite integral you have to allow for a constant. In this case it is imaginary!&lt;/p&gt;
&lt;p&gt;int(U, t);&lt;br&gt;evalc(%);&lt;br&gt;combine(%);&lt;br&gt;evalc(%);&lt;br&gt;evalc(Im(%));&lt;br&gt;normal(%);&lt;br&gt;#Thus the imaginary part is constant!&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/questions/141031-Integrating-String-Of-Real-CosSine#comment141058"&gt;@argand&lt;/a&gt; Since this is an indefinite integral you have to allow for a constant. In this case it is imaginary!&lt;/p&gt;
&lt;p&gt;int(U, t);&lt;br&gt;evalc(%);&lt;br&gt;combine(%);&lt;br&gt;evalc(%);&lt;br&gt;evalc(Im(%));&lt;br&gt;normal(%);&lt;br&gt;#Thus the imaginary part is constant!&lt;/p&gt;</description>
      <guid>141082</guid>
      <pubDate>Tue, 04 Dec 2012 05:03:11 Z</pubDate>
      <itunes:author>Preben Alsholm</itunes:author>
      <author>Preben Alsholm</author>
    </item>
    <item>
      <title>zero imaginary component</title>
      <link>http://www.mapleprimes.com/questions/141031-Integrating-String-Of-Real-CosSine?ref=Feed:MaplePrimes:Integrating string of real Cos/Sine terms - getting complex result.:Comments#comment141083</link>
      <itunes:summary>&lt;p&gt;I wonder whether he could try to code it to solve for the constant of integration such that Im(int(U,t))=0, and then use that in Re(int(U,t)) if it weren't too messy or implicit.&lt;/p&gt;
&lt;p&gt;Using U from his worksheet&lt;/p&gt;
&lt;pre&gt;s:=int(U,t):

ims:=simplify(combine(evalc(Im(s))),size);

                          8   (1/2)    
                        - -- 7      _C1
                          21           

sims:=solve(ims,indets(ims,name) minus {constants});

                           {_C1 = 0}

simplify(eval(simplify(combine(evalc(Re(s))), size), sims));

               /1  \    /3  (1/2)  \ /              2\
            exp|- t| sin|- 7      t| \65 - 4 t + 8 t /
               \8  /    \8         /                  
          - ------------------------------------------
                       /        /3  (1/2)  \\         
                    32 |-1 + cos|- 7      t||         
                       \        \4         //         
&lt;/pre&gt;
&lt;p&gt;I suppose that this is a fragile approach.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;I wonder whether he could try to code it to solve for the constant of integration such that Im(int(U,t))=0, and then use that in Re(int(U,t)) if it weren't too messy or implicit.&lt;/p&gt;
&lt;p&gt;Using U from his worksheet&lt;/p&gt;
&lt;pre&gt;s:=int(U,t):

ims:=simplify(combine(evalc(Im(s))),size);

                          8   (1/2)    
                        - -- 7      _C1
                          21           

sims:=solve(ims,indets(ims,name) minus {constants});

                           {_C1 = 0}

simplify(eval(simplify(combine(evalc(Re(s))), size), sims));

               /1  \    /3  (1/2)  \ /              2\
            exp|- t| sin|- 7      t| \65 - 4 t + 8 t /
               \8  /    \8         /                  
          - ------------------------------------------
                       /        /3  (1/2)  \\         
                    32 |-1 + cos|- 7      t||         
                       \        \4         //         
&lt;/pre&gt;
&lt;p&gt;I suppose that this is a fragile approach.&lt;/p&gt;</description>
      <guid>141083</guid>
      <pubDate>Tue, 04 Dec 2012 06:39:03 Z</pubDate>
      <itunes:author>pagan</itunes:author>
      <author>pagan</author>
    </item>
  </channel>
</rss>