<?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: Solve block in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/Solve-block/m-p/723147#M195429</link>
    <description>&lt;P&gt;A solve block in Prime can only be used to find numerical answers/results. You do not want a list of all possible numerical answers to the equation a^2 &amp;lt;= 49, because that list is infinitely long.&lt;/P&gt;
&lt;P&gt;The solution is potentially easier found using the symbolic method (look up symbolic solvers in Prime):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LucMeekes_0-1617824460952.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/40116i1E5AFBF2A8CB1E45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LucMeekes_0-1617824460952.png" alt="LucMeekes_0-1617824460952.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;(In Prime it looks different from the above).&lt;/P&gt;
&lt;P&gt;Note that Prime has little to no provisions to work with integer values only. That is, it is difficult towards impossible, to force Prime to produce answer that only have whole numbers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Success!&lt;BR /&gt;Luc&lt;/P&gt;</description>
    <pubDate>Wed, 07 Apr 2021 19:43:28 GMT</pubDate>
    <dc:creator>LucMeekes</dc:creator>
    <dc:date>2021-04-07T19:43:28Z</dc:date>
    <item>
      <title>Solve block</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Solve-block/m-p/723120#M195420</link>
      <description>&lt;P&gt;I am pretty new to Mathcad Prime and just learning things. Wanted to know is it possible to get all the possible solutions for the solve block and not just one?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have attached worksheet. Thank you for the help&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Vic&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 18:02:55 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Solve-block/m-p/723120#M195420</guid>
      <dc:creator>VR_9781959</dc:creator>
      <dc:date>2021-04-07T18:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Solve block</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Solve-block/m-p/723147#M195429</link>
      <description>&lt;P&gt;A solve block in Prime can only be used to find numerical answers/results. You do not want a list of all possible numerical answers to the equation a^2 &amp;lt;= 49, because that list is infinitely long.&lt;/P&gt;
&lt;P&gt;The solution is potentially easier found using the symbolic method (look up symbolic solvers in Prime):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LucMeekes_0-1617824460952.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/40116i1E5AFBF2A8CB1E45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LucMeekes_0-1617824460952.png" alt="LucMeekes_0-1617824460952.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;(In Prime it looks different from the above).&lt;/P&gt;
&lt;P&gt;Note that Prime has little to no provisions to work with integer values only. That is, it is difficult towards impossible, to force Prime to produce answer that only have whole numbers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Success!&lt;BR /&gt;Luc&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 19:43:28 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Solve-block/m-p/723147#M195429</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2021-04-07T19:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Solve block</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Solve-block/m-p/723266#M195445</link>
      <description>&lt;P&gt;Thank you Luc for the information also, when I try to use the solve block with odesolve its not behaving as it should am I doing it right?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VR_9781959_0-1617886809901.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/40144iA944AC153229673E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VR_9781959_0-1617886809901.png" alt="VR_9781959_0-1617886809901.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Vic&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 13:00:23 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Solve-block/m-p/723266#M195445</guid>
      <dc:creator>VR_9781959</dc:creator>
      <dc:date>2021-04-08T13:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Solve block</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Solve-block/m-p/723277#M195446</link>
      <description>&lt;P&gt;Why would you use "odesolve" when you have no ODE?&lt;/P&gt;
&lt;P&gt;Its unclear to me what you actually are trying to achieve and what kind of result you are expecting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may want to lookup the usage of odesolve in the online help&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1617889688906.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/40148i3AB2E4472B2CE0B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_0-1617889688906.png" alt="Werner_E_0-1617889688906.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 13:49:50 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Solve-block/m-p/723277#M195446</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2021-04-08T13:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Solve block</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Solve-block/m-p/723286#M195448</link>
      <description>&lt;P&gt;odesolve is for solving ordinary differential equations, as you may guess, and the solve block does not contain an ODE...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 14:25:30 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Solve-block/m-p/723286#M195448</guid>
      <dc:creator>MSheykman</dc:creator>
      <dc:date>2021-04-08T14:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Solve block</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Solve-block/m-p/723308#M195454</link>
      <description>&lt;P&gt;I am looking to expand the result i,e the vector:answer in the example would be of seven integers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Also, is it possible to define a number to an integer?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 15:35:44 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Solve-block/m-p/723308#M195454</guid>
      <dc:creator>VR_9781959</dc:creator>
      <dc:date>2021-04-08T15:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Solve block</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Solve-block/m-p/723326#M195456</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/382801"&gt;@VR_9781959&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am looking to expand the result i,e the vector:answer in the example would be of seven integers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Seven? If you really mean only &lt;U&gt;integer&lt;/U&gt; solutions, the result must be a vector of 15 values!!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1617899621406.png" style="width: 270px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/40160iE60ACD390525BE76/image-dimensions/270x318?v=v2" width="270" height="318" role="button" title="Werner_E_0-1617899621406.png" alt="Werner_E_0-1617899621406.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But you sure can limit the solutions to positive integers if thats what you are looking for:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_1-1617899758790.png" style="width: 321px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/40161iD0EF3606317300C5/image-dimensions/321x168?v=v2" width="321" height="168" role="button" title="Werner_E_1-1617899758790.png" alt="Werner_E_1-1617899758790.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Unfortunately the above only works in real Mathcad and in Prime up to version 6 (if you chose to use the "Legacy Symbolic Engine", muPad). The new engine built into Prime 7 (Axiom) is less capable than the older one (which in no way was state of the art, either). Here is what you see when you use the new engine:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_2-1617899951634.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/40162iE4C268A308E11188/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_2-1617899951634.png" alt="Werner_E_2-1617899951634.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Correct and disappointing at the same time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;BR /&gt;
&lt;P&gt;-Also, is it possible to define a number to an integer?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Only with assume when you use the symbolic engine, as you have just seen. And very often this modifier is simply ignored by the engine. Prime is not an appropriate tool for diophantic equations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 16:44:38 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Solve-block/m-p/723326#M195456</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2021-04-08T16:44:38Z</dc:date>
    </item>
  </channel>
</rss>

