<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Mathcad 15 index summation in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/Mathcad-15-index-summation/m-p/804556#M201785</link>
    <description>&lt;P&gt;Maybe that way:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1656540197752.png" style="width: 281px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/59472i7796F7FDAD031AC1/image-dimensions/281x169?v=v2" width="281" height="169" role="button" title="Werner_E_0-1656540197752.png" alt="Werner_E_0-1656540197752.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jun 2022 22:03:28 GMT</pubDate>
    <dc:creator>Werner_E</dc:creator>
    <dc:date>2022-06-29T22:03:28Z</dc:date>
    <item>
      <title>Mathcad 15 index summation</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Mathcad-15-index-summation/m-p/804552#M201784</link>
      <description>&lt;P&gt;Is it possible to to index the summation for odd numbers in 15?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 20:56:31 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Mathcad-15-index-summation/m-p/804552#M201784</guid>
      <dc:creator>JB_10220769</dc:creator>
      <dc:date>2022-06-29T20:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Mathcad 15 index summation</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Mathcad-15-index-summation/m-p/804556#M201785</link>
      <description>&lt;P&gt;Maybe that way:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1656540197752.png" style="width: 281px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/59472i7796F7FDAD031AC1/image-dimensions/281x169?v=v2" width="281" height="169" role="button" title="Werner_E_0-1656540197752.png" alt="Werner_E_0-1656540197752.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 22:03:28 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Mathcad-15-index-summation/m-p/804556#M201785</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2022-06-29T22:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Mathcad 15 index summation</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Mathcad-15-index-summation/m-p/804558#M201786</link>
      <description>&lt;P&gt;Or you may redefine your function f(..) to return zero for even values of n:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_1-1656540384435.png" style="width: 302px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/59473i85CFFC7AEDFA539B/image-dimensions/302x181?v=v2" width="302" height="181" role="button" title="Werner_E_1-1656540384435.png" alt="Werner_E_1-1656540384435.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;or, as a variation, you may put the branch into the sum instead of the function f:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_2-1656540502233.png" style="width: 340px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/59474i66DFF4F58E4D7CFB/image-dimensions/340x231?v=v2" width="340" height="231" role="button" title="Werner_E_2-1656540502233.png" alt="Werner_E_2-1656540502233.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And as my last solution for now you may do without the summation operator and program the summation yourself:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1656540892061.png" style="width: 307px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/59475iB3DBD4857D4E1555/image-dimensions/307x193?v=v2" width="307" height="193" role="button" title="Werner_E_0-1656540892061.png" alt="Werner_E_0-1656540892061.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The last will not work for a=1 unless you add some kind of branch (if).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 22:17:39 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Mathcad-15-index-summation/m-p/804558#M201786</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2022-06-29T22:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Mathcad 15 index summation</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Mathcad-15-index-summation/m-p/805487#M201798</link>
      <description>&lt;P&gt;I tried to follow the same method in my original programming but the solution does not converge while matlab can&lt;/P&gt;&lt;P&gt;Can you share your views&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 13:57:37 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Mathcad-15-index-summation/m-p/805487#M201798</guid>
      <dc:creator>JB_10220769</dc:creator>
      <dc:date>2022-07-05T13:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Mathcad 15 index summation</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Mathcad-15-index-summation/m-p/805507#M201801</link>
      <description>&lt;P&gt;You may want to look at the functions An and k_n.&lt;/P&gt;
&lt;P&gt;The constant factor in C_b is a quite low pure imaginary number and for most odd values of n the summand is a very small imaginary number , too. But for some odd values of n the summands seem to "explode".&lt;/P&gt;
&lt;P&gt;This may also be due to numerical inaccuracies - compare the result of the numeric to the symbolic evaluation shown in the picture for b=21. But both values are quite large so you may want to recheck your function definitions.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1657034332440.png" style="width: 999px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/59649i885CEE45C888E625/image-size/large?v=v2&amp;amp;px=999" role="button" title="Werner_E_0-1657034332440.png" alt="Werner_E_0-1657034332440.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;There is also a significant difference when I evaluate C_b (for m=41) when evaluated symbolically:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_1-1657034355798.png" style="width: 453px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/59650i534F1D19F127EE51/image-dimensions/453x92?v=v2" width="453" height="92" role="button" title="Werner_E_1-1657034355798.png" alt="Werner_E_1-1657034355798.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just noticed that when you define the function An you already have k_n(n,h) in the denominator. When you define C_b you have the same function again in the denominator of the summands. Guess this was not done on purpose?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW, you should omit the first argument n in your function definition of C_b as n is the summation index anyway.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 15:23:57 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Mathcad-15-index-summation/m-p/805507#M201801</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2022-07-05T15:23:57Z</dc:date>
    </item>
  </channel>
</rss>

