<?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 How to use the root command in a program in Mathcad</title>
    <link>https://community.ptc.com/t5/Mathcad/How-to-use-the-root-command-in-a-program/m-p/309859#M120963</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, I am having some trouble with this program. My aim is to find a temperature (by using the command root) in a program, can anyone help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 May 2018 13:55:21 GMT</pubDate>
    <dc:creator>cbentivoglio</dc:creator>
    <dc:date>2018-05-03T13:55:21Z</dc:date>
    <item>
      <title>How to use the root command in a program</title>
      <link>https://community.ptc.com/t5/Mathcad/How-to-use-the-root-command-in-a-program/m-p/309859#M120963</link>
      <description>Hi everyone, I am having some trouble with this program. My aim is to find a temperature (by using the command root) in a program, can anyone help me?</description>
      <pubDate>Thu, 03 May 2018 13:55:21 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/How-to-use-the-root-command-in-a-program/m-p/309859#M120963</guid>
      <dc:creator>cbentivoglio</dc:creator>
      <dc:date>2018-05-03T13:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the root command in a program</title>
      <link>https://community.ptc.com/t5/Mathcad/How-to-use-the-root-command-in-a-program/m-p/309860#M120964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You've probably run into the automatic labelling trap of Mathcad Prime:&lt;IMG alt="" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/110937_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Notice that my cursor (short vertical blue line) is on the T.b[0 variable where it is assigned the value of T.b.B0 (of which I could not find a definition, so that may be yet another problem). The label (see the ribbon: 'Labels', 3rd from top-right) of this T.b[0 variable is 'Variable'. If you move the cursor to the offending item T.b[i-1 inside the argument list of the root function you see that the label of that item is not 'Variable', but '(-)'. Now both items refer to an element of the vector T.b (the first to its element with index 0, the other to the element with index i-1. The labels are different, so the arrays are different, and that's not your intent, I guess. You can correct this by manually changing the label of T.b[i-1 to be a 'variable' as well. then this problem should be out of the way.&lt;/P&gt;&lt;P&gt;Unfortunately I cannot do it, because I'm limited to Prime Express (no programming or solve blocks allowed). But if you (still) run into more issues, don't hesitate to come back here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Success!&lt;BR /&gt;Luc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 15:53:08 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/How-to-use-the-root-command-in-a-program/m-p/309860#M120964</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2017-01-19T15:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the root command in a program</title>
      <link>https://community.ptc.com/t5/Mathcad/How-to-use-the-root-command-in-a-program/m-p/309861#M120965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, there's one other thing.&lt;/P&gt;&lt;P&gt;The 300 and 400 K limits don't use K(elvin) as a unit, but K as a variable instead. If they were units, they'd be as blue as the K(elvin) inside the solve block just above your program. Similar label trap stuff... Similar method of correction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 16:05:42 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/How-to-use-the-root-command-in-a-program/m-p/309861#M120965</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2017-01-19T16:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the root command in a program</title>
      <link>https://community.ptc.com/t5/Mathcad/How-to-use-the-root-command-in-a-program/m-p/309862#M120966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your quick response.&lt;BR /&gt;I've changed the label of both the K (units) and the Tb.i-1 (variable) but the program still doesn't work. Also I assigned the value of Tb.B0 inside the solve block! Could there be any other problems (mostly regarding the use of the root function)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 16:19:09 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/How-to-use-the-root-command-in-a-program/m-p/309862#M120966</guid>
      <dc:creator>cbentivoglio</dc:creator>
      <dc:date>2017-01-19T16:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the root command in a program</title>
      <link>https://community.ptc.com/t5/Mathcad/How-to-use-the-root-command-in-a-program/m-p/309863#M120967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes there could be.&lt;/P&gt;&lt;P&gt;Try to see if the root function works with a simple variable, rather than a vector element. Assign T.b[i-1 to a variable Temp (e.g.) before calling root and use that instead inside the root function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Success!&lt;BR /&gt;Luc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 17:46:31 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/How-to-use-the-root-command-in-a-program/m-p/309863#M120967</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2017-01-19T17:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the root command in a program</title>
      <link>https://community.ptc.com/t5/Mathcad/How-to-use-the-root-command-in-a-program/m-p/309864#M120968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have more problems. The x.B used in the expression as argument to the root function is an array, but it's i'th element x.B[i is NOT an array, and you try to index it with n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 18:29:54 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/How-to-use-the-root-command-in-a-program/m-p/309864#M120968</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2017-01-19T18:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the root command in a program</title>
      <link>https://community.ptc.com/t5/Mathcad/How-to-use-the-root-command-in-a-program/m-p/309865#M120969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Salve Claudio Bentivoglio,&lt;/P&gt;&lt;P&gt;dovrei conoscere a fondo il problema per essere certo della soluzione.&lt;/P&gt;&lt;P&gt;Comunque, quella che segue potrebbe andare bene?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Batch Distillation.jpg" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/111026_Batch Distillation.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Distinti saluti.&lt;/P&gt;&lt;P&gt;F. M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 11:27:00 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/How-to-use-the-root-command-in-a-program/m-p/309865#M120969</guid>
      <dc:creator>-MFra-</dc:creator>
      <dc:date>2017-01-23T11:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the root command in a program</title>
      <link>https://community.ptc.com/t5/Mathcad/How-to-use-the-root-command-in-a-program/m-p/309866#M120970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Grazie mille! è proprio quello che volevo fare, ma non mi è venuto in mente di creare una funzione della temperatura all'interno del programma!&lt;BR /&gt;Ti allego il programma così se vuoi capire quello che stavo facendo puoi farlo. Grazie ancora!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 13:11:31 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/How-to-use-the-root-command-in-a-program/m-p/309866#M120970</guid>
      <dc:creator>cbentivoglio</dc:creator>
      <dc:date>2017-01-23T13:11:31Z</dc:date>
    </item>
  </channel>
</rss>

