<?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: SELECT DIFFERENT VALUES IN SUMMATION FUNCTION in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/SELECT-DIFFERENT-VALUES-IN-SUMMATION-FUNCTION/m-p/837816#M203693</link>
    <description>&lt;P&gt;Try to avoid using all uppercase letters in your subject as this is considered loud shouting/screaming and there is no reason to do so here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you looking for a function with the argument specifying that starting value of k or do you just want to set a worksheet variable and want the calculation be done dependent on this variable.&lt;/P&gt;
&lt;P&gt;In the latter case you may simply define a variable &lt;FONT face="courier new,courier"&gt;&lt;EM&gt;start&lt;/EM&gt;&lt;/FONT&gt; to be either 0 or 1 and setup the sum to start with &lt;FONT face="courier new,courier"&gt;&lt;EM&gt;k=r*start&lt;/EM&gt;&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;Furthermore its not necessary to use any loop! Your for-loops just returns the last result (for j = count) and discards all the previous ones. So you may simply use &lt;FONT face="courier new,courier"&gt;count&lt;/FONT&gt; in your sum instead or &lt;FONT face="courier new,courier"&gt;r&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_2-1668381356104.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/70752i1CFE442A5AD97D64/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_2-1668381356104.png" alt="Werner_E_2-1668381356104.png" /&gt;&lt;/span&gt;&amp;nbsp; &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_3-1668381379880.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/70753i4125FA33630F8020/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_3-1668381379880.png" alt="Werner_E_3-1668381379880.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EDIT: And here is the version with a function (as before the argument "st" is either 0 or 1):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_4-1668381683921.png" style="width: 431px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/70754iB9024EB72FDA595F/image-dimensions/431x465?v=v2" width="431" height="465" role="button" title="Werner_E_4-1668381683921.png" alt="Werner_E_4-1668381683921.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Additional remark/question:&lt;/P&gt;
&lt;P&gt;Why do you setup these as functions in t? None of them is dependent on t!!! The result is the same vector no matter which function argument you provide when you call these functions. So they could as well be variables instead of functions.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_5-1668382022514.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/70755i6AFBF9832790C51A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_5-1668382022514.png" alt="Werner_E_5-1668382022514.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Nov 2022 00:01:27 GMT</pubDate>
    <dc:creator>Werner_E</dc:creator>
    <dc:date>2022-11-14T00:01:27Z</dc:date>
    <item>
      <title>SELECT DIFFERENT VALUES IN SUMMATION FUNCTION</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/SELECT-DIFFERENT-VALUES-IN-SUMMATION-FUNCTION/m-p/837812#M203692</link>
      <description>&lt;P&gt;I am tring to set the starting value of the summation as below. Prime 8 file attached.&lt;/P&gt;
&lt;P&gt;Want to be able to set k=r or k=0.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ppal_0-1668375618343.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/70749iB9AB5D372B985448/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ppal_0-1668375618343.png" alt="ppal_0-1668375618343.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Nov 2022 21:43:04 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/SELECT-DIFFERENT-VALUES-IN-SUMMATION-FUNCTION/m-p/837812#M203692</guid>
      <dc:creator>ppal</dc:creator>
      <dc:date>2022-11-13T21:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT DIFFERENT VALUES IN SUMMATION FUNCTION</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/SELECT-DIFFERENT-VALUES-IN-SUMMATION-FUNCTION/m-p/837816#M203693</link>
      <description>&lt;P&gt;Try to avoid using all uppercase letters in your subject as this is considered loud shouting/screaming and there is no reason to do so here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you looking for a function with the argument specifying that starting value of k or do you just want to set a worksheet variable and want the calculation be done dependent on this variable.&lt;/P&gt;
&lt;P&gt;In the latter case you may simply define a variable &lt;FONT face="courier new,courier"&gt;&lt;EM&gt;start&lt;/EM&gt;&lt;/FONT&gt; to be either 0 or 1 and setup the sum to start with &lt;FONT face="courier new,courier"&gt;&lt;EM&gt;k=r*start&lt;/EM&gt;&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;Furthermore its not necessary to use any loop! Your for-loops just returns the last result (for j = count) and discards all the previous ones. So you may simply use &lt;FONT face="courier new,courier"&gt;count&lt;/FONT&gt; in your sum instead or &lt;FONT face="courier new,courier"&gt;r&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_2-1668381356104.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/70752i1CFE442A5AD97D64/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_2-1668381356104.png" alt="Werner_E_2-1668381356104.png" /&gt;&lt;/span&gt;&amp;nbsp; &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_3-1668381379880.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/70753i4125FA33630F8020/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_3-1668381379880.png" alt="Werner_E_3-1668381379880.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EDIT: And here is the version with a function (as before the argument "st" is either 0 or 1):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_4-1668381683921.png" style="width: 431px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/70754iB9024EB72FDA595F/image-dimensions/431x465?v=v2" width="431" height="465" role="button" title="Werner_E_4-1668381683921.png" alt="Werner_E_4-1668381683921.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Additional remark/question:&lt;/P&gt;
&lt;P&gt;Why do you setup these as functions in t? None of them is dependent on t!!! The result is the same vector no matter which function argument you provide when you call these functions. So they could as well be variables instead of functions.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_5-1668382022514.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/70755i6AFBF9832790C51A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_5-1668382022514.png" alt="Werner_E_5-1668382022514.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 00:01:27 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/SELECT-DIFFERENT-VALUES-IN-SUMMATION-FUNCTION/m-p/837816#M203693</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2022-11-14T00:01:27Z</dc:date>
    </item>
  </channel>
</rss>

