<?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: Another SOLVE Block Question in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/Another-SOLVE-Block-Question/m-p/1024466#M217877</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/807366"&gt;@thodij&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Good morning, PTC Community:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Objective:&lt;/P&gt;
&lt;P&gt;Given circle ID, and fixed value "a" for the equivalent in area &amp;amp; perimeter ellipse, goal seek the value of b.&lt;/P&gt;
&lt;P&gt;I am encountering a "These units are not compatible" error. See attached.&lt;/P&gt;
&lt;P&gt;Using Mathcad 10.0.1.0.&lt;/P&gt;
&lt;P&gt;Your assistance will be appreciated.&lt;/P&gt;
&lt;P&gt;JT&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1752340451450.png" style="width: 509px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/125548i5C5FB31B761C83E5/image-dimensions/509x185?v=v2" width="509" height="185" role="button" title="Werner_E_0-1752340451450.png" alt="Werner_E_0-1752340451450.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You cannot add or subtract a length and an area, hence the unit mismatch error.&lt;/P&gt;
&lt;P&gt;In the approximation formula for the perimeter of an ellipse you made an error. It should read &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;(a+b)&lt;/STRONG&gt;&lt;/FONT&gt;, NOT&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt; (a*b)&lt;/FONT&gt;&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 12 Jul 2025 18:12:48 GMT</pubDate>
    <dc:creator>Werner_E</dc:creator>
    <dc:date>2025-07-12T18:12:48Z</dc:date>
    <item>
      <title>Another SOLVE Block Question</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Another-SOLVE-Block-Question/m-p/1024461#M217874</link>
      <description>&lt;P&gt;Good morning, PTC Community:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Objective:&lt;/P&gt;&lt;P&gt;Given circle ID, and fixed value "a" for the equivalent in area &amp;amp; perimeter ellipse, goal seek the value of b.&lt;/P&gt;&lt;P&gt;I am encountering a "These units are not compatible" error. See attached.&lt;/P&gt;&lt;P&gt;Using Mathcad 10.0.1.0.&lt;/P&gt;&lt;P&gt;Your assistance will be appreciated.&lt;/P&gt;&lt;P&gt;JT&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jul 2025 12:52:27 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Another-SOLVE-Block-Question/m-p/1024461#M217874</guid>
      <dc:creator>thodij</dc:creator>
      <dc:date>2025-07-12T12:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Another SOLVE Block Question</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Another-SOLVE-Block-Question/m-p/1024462#M217875</link>
      <description>&lt;P&gt;Perhaps, it is not possible to have a circle and a unique ellipse that both have the same area and perimeter.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jul 2025 13:38:44 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Another-SOLVE-Block-Question/m-p/1024462#M217875</guid>
      <dc:creator>thodij</dc:creator>
      <dc:date>2025-07-12T13:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Another SOLVE Block Question</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Another-SOLVE-Block-Question/m-p/1024463#M217876</link>
      <description>&lt;P&gt;Yes, it is impossible to have a circle and ellipse that are both equal in area and perimeter, unless they are both circles!&lt;/P&gt;&lt;P&gt;Correction in the constraints block is attached.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jul 2025 15:01:48 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Another-SOLVE-Block-Question/m-p/1024463#M217876</guid>
      <dc:creator>thodij</dc:creator>
      <dc:date>2025-07-12T15:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Another SOLVE Block Question</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Another-SOLVE-Block-Question/m-p/1024466#M217877</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/807366"&gt;@thodij&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Good morning, PTC Community:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Objective:&lt;/P&gt;
&lt;P&gt;Given circle ID, and fixed value "a" for the equivalent in area &amp;amp; perimeter ellipse, goal seek the value of b.&lt;/P&gt;
&lt;P&gt;I am encountering a "These units are not compatible" error. See attached.&lt;/P&gt;
&lt;P&gt;Using Mathcad 10.0.1.0.&lt;/P&gt;
&lt;P&gt;Your assistance will be appreciated.&lt;/P&gt;
&lt;P&gt;JT&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1752340451450.png" style="width: 509px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/125548i5C5FB31B761C83E5/image-dimensions/509x185?v=v2" width="509" height="185" role="button" title="Werner_E_0-1752340451450.png" alt="Werner_E_0-1752340451450.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You cannot add or subtract a length and an area, hence the unit mismatch error.&lt;/P&gt;
&lt;P&gt;In the approximation formula for the perimeter of an ellipse you made an error. It should read &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;(a+b)&lt;/STRONG&gt;&lt;/FONT&gt;, NOT&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt; (a*b)&lt;/FONT&gt;&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jul 2025 18:12:48 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Another-SOLVE-Block-Question/m-p/1024466#M217877</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2025-07-12T18:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Another SOLVE Block Question</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Another-SOLVE-Block-Question/m-p/1024468#M217878</link>
      <description>&lt;P&gt;I see that you found your error (a+b) instead of (a*b).&lt;/P&gt;
&lt;P&gt;By specifying the values for the circumference and the area of an ellipse, the dimensions of the half axes a and b are clearly defined (except for the order of a&amp;gt;b or a&amp;lt;b).&lt;BR /&gt;And if the specifications correspond to those of a circle, then the solution is precisely this circle.&lt;BR /&gt;However, this has nothing to do with your original question about the unit mismatch error &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here a demonstration using the 'exact' formula with the elliptic integral.&lt;/P&gt;
&lt;P&gt;Input of the function "getAxis" are area and perimeter of the ellipse, output are the lengths of the two half axis a and b.&lt;/P&gt;
&lt;P&gt;If the input corresponds to the values of a circle, the result is exactly that circle (a=b).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_3-1752342111618.png" style="width: 484px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/125551i8CB58B36243B7929/image-dimensions/484x547?v=v2" width="484" height="547" role="button" title="Werner_E_3-1752342111618.png" alt="Werner_E_3-1752342111618.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A circle is the ellipse with the least perimeter by a given area. So if you demand a perimeter too small, the solutions will be non-real.&lt;/P&gt;
&lt;P&gt;In the example below the perimeter would have to be at least 35.449 inches to get real solutions.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_2-1752342055018.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/125550iFAE7062AAA4F438C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_2-1752342055018.png" alt="Werner_E_2-1752342055018.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A solve block does not return non-real solutions if the guess values are real.&lt;/P&gt;
&lt;P&gt;To get the non-real solutions you would have to provide non-real guesses:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_4-1752342263208.png" style="width: 572px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/125552i8D4FEEBEA90FD404/image-dimensions/572x488?v=v2" width="572" height="488" role="button" title="Werner_E_4-1752342263208.png" alt="Werner_E_4-1752342263208.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As you see we also get tiny imaginary parts in the real solutions as well. This is because of numerical inaccuracies, presumable because of the numerical evaluation of the integral, I guess.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jul 2025 17:45:48 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Another-SOLVE-Block-Question/m-p/1024468#M217878</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2025-07-12T17:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Another SOLVE Block Question</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Another-SOLVE-Block-Question/m-p/1024470#M217879</link>
      <description>&lt;P&gt;Perfect. Thank you, Werner.&lt;/P&gt;&lt;P&gt;It all makes sense.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joseph T.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jul 2025 17:41:07 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Another-SOLVE-Block-Question/m-p/1024470#M217879</guid>
      <dc:creator>thodij</dc:creator>
      <dc:date>2025-07-12T17:41:07Z</dc:date>
    </item>
  </channel>
</rss>

