<?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: Unit Issue with Exponents in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/Unit-Issue-with-Exponents/m-p/909721#M209233</link>
    <description>&lt;P&gt;You found a severe bug in Prime.&lt;/P&gt;
&lt;P&gt;Somebody should report it to PTC support.&lt;/P&gt;
&lt;P&gt;As you are using the free Express, you probably are not eligible to to so. PTC seems not to be interested in bug reports by non-paying users (which implies that improving the quality of Prime seems not be of high priority to them).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tracked down the issue to a simple example (you must not use kg, use any unit):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1698835200373.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/92396i8F8B039093CA803D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_0-1698835200373.png" alt="Werner_E_0-1698835200373.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Obviously the result should be simply 1 kg.&lt;/P&gt;
&lt;P&gt;Here some examples using others numbers:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_1-1698835294303.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/92397iC3134F4BB2D9DCBB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_1-1698835294303.png" alt="Werner_E_1-1698835294303.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Like Martin I see no other workaround for you but doing the calculation unitless and add the correct unit manually&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_2-1698835579910.png" style="width: 642px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/92398i27B7121A1D23A5BF/image-dimensions/642x212?v=v2" width="642" height="212" role="button" title="Werner_E_2-1698835579910.png" alt="Werner_E_2-1698835579910.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;An easier workaround was shown by ttokoro, but because it uses symbolic evaluation its not available to you as you are using the free Express version of Prime&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_3-1698835681357.png" style="width: 662px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/92399i73F3A2FACF384E7B/image-dimensions/662x234?v=v2" width="662" height="234" role="button" title="Werner_E_3-1698835681357.png" alt="Werner_E_3-1698835681357.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;(It would also be necessary to enable units in symbolics in the calculation option to make this work)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Nov 2023 10:49:51 GMT</pubDate>
    <dc:creator>Werner_E</dc:creator>
    <dc:date>2023-11-01T10:49:51Z</dc:date>
    <item>
      <title>Unit Issue with Exponents</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Unit-Issue-with-Exponents/m-p/909627#M209230</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any chance anyone has an idea why I am getting odd units?&amp;nbsp; I did the exponent by hand below just to check and it comes up with 1 like it should.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;formula:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JH_10068722_0-1698817165180.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/92364iB593171D96DDF6E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JH_10068722_0-1698817165180.png" alt="JH_10068722_0-1698817165180.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Exponent check:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JH_10068722_1-1698817200429.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/92365iE13280D3304FCE94/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JH_10068722_1-1698817200429.png" alt="JH_10068722_1-1698817200429.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;Version: PTC Mathcad Prime Express 9.0.0.0&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 05:40:22 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Unit-Issue-with-Exponents/m-p/909627#M209230</guid>
      <dc:creator>Josh384331</dc:creator>
      <dc:date>2023-11-01T05:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unit Issue with Exponents</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Unit-Issue-with-Exponents/m-p/909658#M209231</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 83px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/92376i7EE7E611F95F1184/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 669px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/92377iDBFBC43B353FB1A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This show the unit is kPa.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 07:19:43 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Unit-Issue-with-Exponents/m-p/909658#M209231</guid>
      <dc:creator>ttokoro</dc:creator>
      <dc:date>2023-11-01T07:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unit Issue with Exponents</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Unit-Issue-with-Exponents/m-p/909679#M209232</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I guess&amp;nbsp;the problem is caused by &lt;STRONG&gt;numerical inaccuracies&lt;/STRONG&gt; when exponentiating the value in kPa by non-integer value. Unfortunately I do not know how to resolve the problem. Of course, you can divide values by units to get scalar values -OR- remove kPa units from variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 08:37:06 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Unit-Issue-with-Exponents/m-p/909679#M209232</guid>
      <dc:creator>MartinHanak</dc:creator>
      <dc:date>2023-11-01T08:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Unit Issue with Exponents</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Unit-Issue-with-Exponents/m-p/909721#M209233</link>
      <description>&lt;P&gt;You found a severe bug in Prime.&lt;/P&gt;
&lt;P&gt;Somebody should report it to PTC support.&lt;/P&gt;
&lt;P&gt;As you are using the free Express, you probably are not eligible to to so. PTC seems not to be interested in bug reports by non-paying users (which implies that improving the quality of Prime seems not be of high priority to them).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tracked down the issue to a simple example (you must not use kg, use any unit):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1698835200373.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/92396i8F8B039093CA803D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_0-1698835200373.png" alt="Werner_E_0-1698835200373.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Obviously the result should be simply 1 kg.&lt;/P&gt;
&lt;P&gt;Here some examples using others numbers:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_1-1698835294303.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/92397iC3134F4BB2D9DCBB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_1-1698835294303.png" alt="Werner_E_1-1698835294303.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Like Martin I see no other workaround for you but doing the calculation unitless and add the correct unit manually&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_2-1698835579910.png" style="width: 642px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/92398i27B7121A1D23A5BF/image-dimensions/642x212?v=v2" width="642" height="212" role="button" title="Werner_E_2-1698835579910.png" alt="Werner_E_2-1698835579910.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;An easier workaround was shown by ttokoro, but because it uses symbolic evaluation its not available to you as you are using the free Express version of Prime&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_3-1698835681357.png" style="width: 662px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/92399i73F3A2FACF384E7B/image-dimensions/662x234?v=v2" width="662" height="234" role="button" title="Werner_E_3-1698835681357.png" alt="Werner_E_3-1698835681357.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;(It would also be necessary to enable units in symbolics in the calculation option to make this work)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 10:49:51 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Unit-Issue-with-Exponents/m-p/909721#M209233</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2023-11-01T10:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unit Issue with Exponents</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Unit-Issue-with-Exponents/m-p/909727#M209234</link>
      <description>&lt;P&gt;Applying my simplified example to real Mathcad (version 15) shows that the problem seems to be quite old.&lt;/P&gt;
&lt;P&gt;The error message shows a strange limitation which obviously was incorporated into Prime, but without throwing an error if violated:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1698836859860.png" style="width: 999px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/92400iE5314728CCDF3796/image-size/large?v=v2&amp;amp;px=999" role="button" title="Werner_E_0-1698836859860.png" alt="Werner_E_0-1698836859860.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 11:10:04 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Unit-Issue-with-Exponents/m-p/909727#M209234</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2023-11-01T11:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unit Issue with Exponents</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Unit-Issue-with-Exponents/m-p/909747#M209235</link>
      <description>&lt;P&gt;It's a bug. It should go like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LucMeekes_1-1698843489535.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/92404iE977D4637F8B0B83/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LucMeekes_1-1698843489535.png" alt="LucMeekes_1-1698843489535.png" /&gt;&lt;/span&gt;&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, 01 Nov 2023 12:58:28 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Unit-Issue-with-Exponents/m-p/909747#M209235</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2023-11-01T12:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unit Issue with Exponents</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Unit-Issue-with-Exponents/m-p/909750#M209236</link>
      <description>&lt;P&gt;Quite old, yes, but not extremely old:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LucMeekes_2-1698843569324.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/92405i1EE641A57B4F6F49/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LucMeekes_2-1698843569324.png" alt="LucMeekes_2-1698843569324.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Luc&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 12:59:44 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Unit-Issue-with-Exponents/m-p/909750#M209236</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2023-11-01T12:59:44Z</dc:date>
    </item>
  </channel>
</rss>

