<?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: Error  message - These values cannot be compared in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/991135#M215605</link>
    <description>&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please clarify what do you mean by "fix the appropriate function definition" and "making it continuous"? Aren't both Phi_p and Phi_d continuous?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ksk_10594232_0-1735567103742.png" style="width: 473px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/116331i29BF6942298BD22A/image-dimensions/473x316?v=v2" width="473" height="316" role="button" title="ksk_10594232_0-1735567103742.png" alt="ksk_10594232_0-1735567103742.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Dec 2024 14:06:15 GMT</pubDate>
    <dc:creator>ksk_10594232</dc:creator>
    <dc:date>2024-12-30T14:06:15Z</dc:date>
    <item>
      <title>Error  message - These values cannot be compared</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/990925#M215561</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a written two programs which are very similar. However, when I am running the second program, I get an error message saying "these values cannot be compared".&amp;nbsp; Unfortunately, I can't figure out what is wrong with the script. How can I solve this error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your support!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ksk_10594232_0-1735308854089.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/116246i77C72629681D8132/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ksk_10594232_0-1735308854089.png" alt="ksk_10594232_0-1735308854089.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2024 14:22:33 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/990925#M215561</guid>
      <dc:creator>ksk_10594232</dc:creator>
      <dc:date>2024-12-27T14:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error  message - These values cannot be compared</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/990954#M215564</link>
      <description>&lt;P&gt;Your expression has a discontinuity, and this makes it hard for the root solver to find a solution.&lt;/P&gt;
&lt;P&gt;Plot Np and the function versus the Np values and see for yourself:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LucMeekes_0-1735317085835.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/116260i1E609C440B34E828/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LucMeekes_0-1735317085835.png" alt="LucMeekes_0-1735317085835.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LucMeekes_2-1735317293020.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/116263i7692A85FCF0325C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LucMeekes_2-1735317293020.png" alt="LucMeekes_2-1735317293020.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LucMeekes_3-1735317310416.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/116264iAC8307E01BA43C21/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LucMeekes_3-1735317310416.png" alt="LucMeekes_3-1735317310416.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LucMeekes_4-1735317325424.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/116265i07E369A7CECA1ABE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LucMeekes_4-1735317325424.png" alt="LucMeekes_4-1735317325424.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;(Putting an error message on the right spot was never a strong point of Mathcad/Prime.)&lt;/P&gt;
&lt;P&gt;Success!&lt;BR /&gt;Luc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2024 16:36:55 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/990954#M215564</guid>
      <dc:creator>LucMeekes</dc:creator>
      <dc:date>2024-12-27T16:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error  message - These values cannot be compared</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/990958#M215565</link>
      <description>&lt;P&gt;There is nothing wrong with your script.&amp;nbsp; The problem is that changing from &lt;FONT face="symbol"&gt;f&lt;/FONT&gt;&lt;SUB&gt;p&lt;/SUB&gt; to &lt;FONT face="symbol"&gt;f&lt;/FONT&gt;&lt;SUB&gt;d&lt;/SUB&gt; results in an expression that causes &lt;FONT face="book antiqua,palatino"&gt;root&lt;/FONT&gt; to fail to find a solution.&amp;nbsp; The error message relates to &lt;FONT face="book antiqua,palatino"&gt;root&lt;/FONT&gt;'s attempt to find a solution ... possibly resulting in a complex value.&amp;nbsp; &amp;nbsp;If you look at a Newton-Raphson approximation for the root then you can see that once &lt;FONT face="book antiqua,palatino"&gt;y&lt;/FONT&gt; gets beyond a certain value, then the approximation oscillates (ie, the derivative is rather flat and therefore sensitive to small changes in&amp;nbsp;N&lt;SUB&gt;p&lt;/SUB&gt;.&amp;nbsp; &lt;FONT face="book antiqua,palatino"&gt;root&lt;/FONT&gt;'s algorithms are more sophistiated than Newton-Raphson but they have their own limitations as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024 12 27 A.png" style="width: 999px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/116266i34E5D642F6C13492/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024 12 27 A.png" alt="2024 12 27 A.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024 12 27 B.png" style="width: 999px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/116267iE590FB313F89F661/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024 12 27 B.png" alt="2024 12 27 B.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Stuart&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2024 16:43:56 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/990958#M215565</guid>
      <dc:creator>StuartBruff</dc:creator>
      <dc:date>2024-12-27T16:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error  message - These values cannot be compared</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/990961#M215566</link>
      <description>&lt;P&gt;I would say that the error message is misleading and showing the wrong position.&lt;/P&gt;
&lt;P&gt;The only difference I see is that you use function Phi.d in the second calc instead of function Phi.p.&lt;/P&gt;
&lt;P&gt;As a first quick workaround you can throw in a try and catch statement&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_3-1735317648419.png" style="width: 999px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/116268i77C18E10576B59A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Werner_E_3-1735317648419.png" alt="Werner_E_3-1735317648419.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So it can be seen that the last two values in vector y are throwing the error&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I turned your calculation into a function of y and it can be seen that it works OK for values of y smaller than 58 mm and throws that error for y=58 mm or larger. It works again for y&amp;gt;108 mm.&lt;/P&gt;
&lt;P&gt;The error message sure is misleading because the expression where the error is shown is independent from the value of y. Nonetheless the value of y and something in the function Phi.d seem to be responsible. Could not be tempted to further look in your function definitions with those nasty nested if functions.&lt;/P&gt;
&lt;P&gt;Phi.d itself has no problems with values of y larger than 58 mm.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_4-1735317884136.png" style="width: 999px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/116269iD53F85B522F60176/image-size/large?v=v2&amp;amp;px=999" role="button" title="Werner_E_4-1735317884136.png" alt="Werner_E_4-1735317884136.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I defined the function g dependent on N.p you are looking for its zero and used y=60 mm (a value where the calculation would fail),&lt;/P&gt;
&lt;P&gt;It can be seen that there is no zero of this function!! Because of the various if-statements in your definitions of the various functions involved we can clearly see a jump from negative to positive values somewhere between N.p=1242.562 kN and 1242.563 kN.&lt;/P&gt;
&lt;P&gt;So root can't find a solution. My guess as of this misleading error message is that root in its desperation might try values for N.p which may return non-real results in some functions (possibly delta.0). Not sure about this, though.&lt;/P&gt;
&lt;P&gt;So the solution is that you have to check your functions and make sure that they are continuous where you are looking for the zero of&amp;nbsp; a function.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_5-1735318027754.png" style="width: 999px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/116270i729B07CCDDC57972/image-size/large?v=v2&amp;amp;px=999" role="button" title="Werner_E_5-1735318027754.png" alt="Werner_E_5-1735318027754.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Additional remark:&lt;/P&gt;
&lt;P&gt;The aforementioned jump seems to be present for all values of y, but for values of y lower than 58 mm this jump is fro, one positive value to another and there is a normal point of zero before.&lt;/P&gt;
&lt;P&gt;Here the plot for y=57 mm. The function is continuous in the range where the zero is and so root has no problems.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_2-1735317095799.png" style="width: 729px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/116261iBAC000725F2562AA/image-dimensions/729x277?v=v2" width="729" height="277" role="button" title="Werner_E_2-1735317095799.png" alt="Werner_E_2-1735317095799.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EDIT: Just noticed that you had a very similar problem here, too, where root could not find a solution because of a very similar discontinuity. &lt;/P&gt;
&lt;P&gt;-&amp;gt; &lt;A href="https://community.ptc.com/t5/Mathcad/Help-me-solve-this-differential-equation/m-p/990241/highlight/true#M215495" target="_blank"&gt;https://community.ptc.com/t5/Mathcad/Help-me-solve-this-differential-equation/m-p/990241/highlight/true#M215495&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2024 17:57:53 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/990961#M215566</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2024-12-27T17:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error  message - These values cannot be compared</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/991075#M215592</link>
      <description>&lt;P&gt;Thank you for your responses Luc, Stuart and Werner! Very appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you already mentioned, the only difference between the first function (which is working) and the second function (which is not working) is Phi_p and Phi_d. I have investigated this further and can not see where the problem is. I have also solved this interation before in Excel, so I know it is solveable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any workaround for this or any error that causes some roots to be missing for Phi_d?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help!&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2024 07:49:17 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/991075#M215592</guid>
      <dc:creator>ksk_10594232</dc:creator>
      <dc:date>2024-12-30T07:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error  message - These values cannot be compared</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/991130#M215603</link>
      <description>&lt;P&gt;As I had shown the equation you are trying to solve simply has no zero for a certain range of values. This is due to the discontinuity which Luc mentioned i I showed in the pictures.&lt;/P&gt;
&lt;P&gt;Prime can't find a zero which dos not exist, so I can't think of any "workaround" other than going back to the start and look where this jump comes from and fix the appropriate function definition, making it continuous.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2024 13:41:37 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/991130#M215603</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2024-12-30T13:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error  message - These values cannot be compared</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/991135#M215605</link>
      <description>&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please clarify what do you mean by "fix the appropriate function definition" and "making it continuous"? Aren't both Phi_p and Phi_d continuous?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ksk_10594232_0-1735567103742.png" style="width: 473px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/116331i29BF6942298BD22A/image-dimensions/473x316?v=v2" width="473" height="316" role="button" title="ksk_10594232_0-1735567103742.png" alt="ksk_10594232_0-1735567103742.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2024 14:06:15 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/991135#M215605</guid>
      <dc:creator>ksk_10594232</dc:creator>
      <dc:date>2024-12-30T14:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error  message - These values cannot be compared</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/991137#M215606</link>
      <description>&lt;P&gt;See the last but one picture in this reply: &lt;A href="https://community.ptc.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/990961/highlight/true#M215566" target="_blank"&gt;https://community.ptc.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/990961/highlight/true#M215566&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here I had chosen y=60 cm, a value where your calculation using the root function fails. The function g(N) represents the expression you use in your root function. This is the expression which you want to be zero and look for the appropriate value of N.&lt;/P&gt;
&lt;P&gt;And the plot clearly shows that there is no value of N which makes this function to zero because there is a discontinuity at approx N=1242.562 kN&lt;/P&gt;
&lt;P&gt;The root command can't find something which simply does not exists!&lt;/P&gt;
&lt;P&gt;I have not investigated further which&amp;nbsp; if statement is responsible for this jump - thats something you should be able to find much faster I guess.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2024 14:15:00 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/991137#M215606</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2024-12-30T14:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error  message - These values cannot be compared</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/991156#M215609</link>
      <description>&lt;P&gt;The thing that I find strange is that the functions Phi_p(y) and Phi_d(y) are more or less identical except for the fact that y_p and y_d (constants) differ and there is no problem solving the roots for the Phi_p function only for Phi_d. I have a hard time understanding that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ksk_10594232_1-1735570820953.png" style="width: 481px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/116339iFB82CAE89FA6BC10/image-dimensions/481x136?v=v2" width="481" height="136" role="button" title="ksk_10594232_1-1735570820953.png" alt="ksk_10594232_1-1735570820953.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ksk_10594232_2-1735570849002.png" style="width: 475px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/116340i437B888DAB0363AE/image-dimensions/475x129?v=v2" width="475" height="129" role="button" title="ksk_10594232_2-1735570849002.png" alt="ksk_10594232_2-1735570849002.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ksk_10594232_3-1735570963018.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/116341iBA22647F0879A46B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ksk_10594232_3-1735570963018.png" alt="ksk_10594232_3-1735570963018.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2024 15:06:07 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/991156#M215609</guid>
      <dc:creator>ksk_10594232</dc:creator>
      <dc:date>2024-12-30T15:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error  message - These values cannot be compared</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/991164#M215612</link>
      <description>&lt;P&gt;Your task sure is to find out where the step, the jump in your expression stems from.&lt;/P&gt;
&lt;P&gt;Its present for all values of y. depending on y the graph seems to be moved up or down. As long as the jump is completely in the area of negative or completely in the area of positive values, all is OK as the function (my function g() which is the expression you want to solve for) is continuous in the area of its zero. but when the graph is move so that the jump is from a negative to a positive value, not zero value exists.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2024 16:22:41 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/991164#M215612</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2024-12-30T16:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error  message - These values cannot be compared</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/991167#M215613</link>
      <description>&lt;P&gt;Thanks. Unfortunately, I don’t know how I shall proceed from here. How can I find out what causes the jump in the expressions?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2024 16:45:49 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/991167#M215613</guid>
      <dc:creator>ksk_10594232</dc:creator>
      <dc:date>2024-12-30T16:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error  message - These values cannot be compared</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/991170#M215614</link>
      <description>&lt;P&gt;I added a function to represent your expression using phi.p, which has no problems with the zeros.&lt;/P&gt;
&lt;P&gt;As you can see, the difference is that the graph is move up and the jump occurs from positive to positive value. The zero is far to the left and can be calculated without problems.&lt;/P&gt;
&lt;P&gt;That shifting of the graph is due to the difference in the values of phi.d(y) and phi.p(y). A smaller value moves the graph upwards.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_1-1735577159442.png" style="width: 999px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/116345i888DF448003048F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Werner_E_1-1735577159442.png" alt="Werner_E_1-1735577159442.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The picture also shows the reason for that jump, which is present for all values of y and also in both function (the one using phi.d and the one using phi.p). Its the if-statement in the denominator. The jump occurs when the value goes over 0.45.&lt;/P&gt;
&lt;P&gt;It looks like this&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1735577027642.png" style="width: 488px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/116344i67D342D9F6F09836/image-dimensions/488x391?v=v2" width="488" height="391" role="button" title="Werner_E_0-1735577027642.png" alt="Werner_E_0-1735577027642.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I am not sure if the jump here is really correct and intended, Normally I would expect a continous graph, like is the case in the if-statement in the nominator.&lt;/P&gt;
&lt;P&gt;Here the graph is continuous at the position where the expression exceeds 0.2 (at 1104.5 kN).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_2-1735577573044.png" style="width: 679px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/116346i8B541BE60B6033F7/image-dimensions/679x428?v=v2" width="679" height="428" role="button" title="Werner_E_2-1735577573044.png" alt="Werner_E_2-1735577573044.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Something which could be achieved in the other if-statement as well if you simply replace the 1.5 by 1.&lt;BR /&gt;But I have no experience whatsoever in your field of work so I can't say if this would make sense&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_3-1735577862363.png" style="width: 502px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/116347i1AB6B2DDB76AADEA/image-dimensions/502x403?v=v2" width="502" height="403" role="button" title="Werner_E_3-1735577862363.png" alt="Werner_E_3-1735577862363.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Another option might be to multiply the 0.45 with 1.5 as well&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_4-1735577935662.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/116348iC21A41F0D50432FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Werner_E_4-1735577935662.png" alt="Werner_E_4-1735577935662.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EDIT: I just noticed that you had exactly that in an expression in the front of the sheet:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Werner_E_0-1735578611412.png" style="width: 695px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/116349i61001AB533175D36/image-dimensions/695x73?v=v2" width="695" height="73" role="button" title="Werner_E_0-1735578611412.png" alt="Werner_E_0-1735578611412.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So probably the mistake was just that you forgot to type the parentheses ?&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2024 17:11:15 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/991170#M215614</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2024-12-30T17:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error  message - These values cannot be compared</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/991196#M215618</link>
      <description>&lt;P&gt;Thank you Werner for your help! I hope this solve my problem. I am beyond greatful for your time !&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2024 20:52:08 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/Error-message-These-values-cannot-be-compared/m-p/991196#M215618</guid>
      <dc:creator>ksk_10594232</dc:creator>
      <dc:date>2024-12-30T20:52:08Z</dc:date>
    </item>
  </channel>
</rss>

